Maptitude GISDK Help

EnableItem()

Summary

Enables a dialog box item or menu item.

 

Syntax

EnableItem(string item_name)

 

Argument Contents
item_name The name of the dialog box item or menu item to enable

 

Notes

Example

if number_of_maps = 0 then

     DisableItem("Close Map menu item")

else

     EnableItem("Close Map menu item")

 

Error Codes

Error Type Meaning
NotFound The specified item does not exist or is not part of the current dialog box or menu system.

 

See Also

Function Summary
HideItem() Hides an item in a dialog box
ShowItem() Shows a previously hidden dialog box item
DisableItem() Disables a dialog box item or menu item

 

 

©2025 Caliper Corporation www.caliper.com