Maptitude GISDK Help

DisableItem()

Summary

Disables a dialog box item or menu item.

 

Syntax

DisableItem(string item_name)

 

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

 

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
EnableItem() Enables a dialog box item or menu item
HideItem() Hides an item in a dialog box
ShowItem() Shows a previously hidden dialog box item

 

 

©2025 Caliper Corporation www.caliper.com