Maptitude GISDK Help

SetCheck()

Summary

Activates or deactivates the check mark on a menu item.

 

Syntax

SetCheck(string item_name, string check)

 

Argument Contents
item_name The name of the menu item
check The string "Checked" to check the menu item, or null to remove the check mark from the item

 

Notes

Example

SetCheck("wide lines", "Checked")

SetCheck("narrow lines", null)

 

Error Codes

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

 

See Also

Function Summary
DisableMenuItems() Disables several menu items at once
EnableMenuItems() Enables 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