iagCreateMenuItem
iagCreateMenuItem(menuName menuItemName functionName)=> t / nil
Description
Creates a custom menu item with the user-specified name and adds it to the integrated Abstract Generator. The menu is created if it is not already available, and the menu item is added under it. Function name is the callback procedure for the menu item.
Arguments
Value Returned
Examples
Creates a menu item named Open Pre_Hook under the menu Custom_Menu and registers the procedure call displayForm on clicking the menu item.
iagCreateMenuItem("Custom_Menu" "Open Pre_Hook" "displayForm")
Related Topics
Return to top