| Maptitude GISDK Help |
Disables several menu items at once.
DisableMenuItems(array item_list)
| Argument | Contents |
|---|---|
| item_list | An array of strings indicating the names of menu items to disable |
All menu items to disable must be part of the current menu system.
If one or more menu items does not exist, DisableMenuItems() does not signal an error.
// Here's an array of menu items that apply to maps...
lst = {"Close Map", "Print Map", "Zoom In", "Zoom Out"}
if number_of_maps = 0 then
DisableMenuItems(lst)
else
EnableMenuItems(lst)
| Function | Summary |
|---|---|
| EnableMenuItems() | Enables several menu items at once |
| RemoveMenuItem() | Removes a menu item from the currently active menu system |
| DisableItem() | Disables a dialog box item or menu item |
| EnableItem() | Enables a dialog box item or menu item |
| ©2025 Caliper Corporation | www.caliper.com |