When a menu is loaded at form startup, the default states of check and radio menu items are as follows:
Item Type |
Default State |
---|---|
Check |
Unselected (Off) |
Radio (first in group) |
Selected (On) |
Radio (all others in group) |
Unselected (Off) |
You can use the Built-ins GET_MENU_ITEM_PROPERTY and SET_MENU_ITEM_PROPERTY to derive and modify the current state of check and radio items.
When using either of these Built-ins, the first parameter to specify is the name of the menu item. Use the following syntax:
menu_name.item_name
/* Set the state of a Show Details check menu item to On: */
SET_MENU_ITEM_PROPERTY('query.show_dtls',
checked,
property_on);