Skip to main content

BuildMenu

BuildMenu menuNameStr

The BuildMenu operation rebuilds the user-defined menu items in the specified menu the next time the user clicks in the menu bar.

Parameters

menuNameStr is a string expression containing a menu name or "All".

Details

BuildMenu should be called when you've defined a custom menu using string variables for the menu items. After you change the string variables, call BuildMenu to update the menu.

BuildMenu "All" rebuilds all the menu items and titles and updates the menu bar.

Under the current implementation, if menuNameStr is not "All", Igor will rebuild all user-defined menu items if BuildMenu is called for any user-defined menu.

See Also

Dynamic Menu Items