$check
Return or set the checked status of a menu item.
$check
$check =
Expression
set | reset $check
Return Values
Value |
Meaning |
---|---|
1 |
Menu item is checked |
0 |
Menu item is not checked |
In an error occurs, $procerror contains the exact error.
Use
Use only in the preDisplay trigger of Menu objects.
Description
The $check function determines whether a check mark appears next to the current menu item. The value of $check does not affect the menu accelerator for that menu item.
Since $check is a Boolean function, when Expression evaluates to a non-zero value, $check becomes 1.