| Maptitude GISDK Help |
Enables several menu items at once.
EnableMenuItems(array item_list)
| Argument | Contents |
|---|---|
| item_list | An array of strings indicating the names of menu items to enable |
All menu items to enable must be part of the current menu system.
If one or more menu items does not exist, EnableMenuItems() 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 |
|---|---|
| DisableMenuItems() | Disables several menu items at once |
| DisableItem() | Disables a dialog box item or menu item |
| EnableItem() | Enables a dialog box item or menu item |
| ©2025 Caliper Corporation | www.caliper.com |