Data Menus
Functions Introduced:
Menus can operate in two modes:
• PROMENUMODE_OPERATIONAL—The default mode. This mode is used in all the previous examples. On an operational menu, only one button is ever set (that is, displayed with a red background) while that command is in progress.
• PROMENUMODE_DATA—Each button remains set until you select it again. This is useful when the buttons do not represent commands, but, for example, a set of independently selectable options.
The function
ProMenuModeSet() sets the menu mode. For a
PROMENUMODE_DATA menu, you can choose to indicate the set buttons with a check mark instead of the usual red background by using the function
ProMenuDatamodeSet().
Parent topic