Menu item events and functions¶
Select function¶
select = func_id
The function to be called if this item is selected. The function is called as follows:
func_id(EV_MENU, item_id)
A select function should only be specified if the item has no subitems. If an item is allocated both a select function and subitems, the compiler issues a warning, and the select function clause is ignored by the compiled code.
See Event functions.
Help function¶
help = func_id
The function to be called if the user presses the HELP key while the menu item has focus. The function is called as follows
func_id(EV_HELP, item_id)
See Help functions.
RELATED TOPICS |