Calling ProMenuModeSet() and ProMenuDatamodeSet()
The function ProMenuModeSet() has two arguments:
• The menu title
• The menu mode (either PROMENU_MODE_OPERATIONAL or PROMENUMODE_DATA)
The function ProMenuDatamodeSet() has two arguments:
• The menu title.
• The set indicator, which indicates which buttons are set. This argument can have either of the following values:
◦ TRUE—Use a check mark.
◦ FALSE—Use a red background. This is the default value.
Both of these functions must be called after the menu has been loaded into memory (using ProMenuFileRegister()), and before the menu has been displayed (using ProMenuCreate()).
If you want to create a menu whose buttons are dependent on run-time data, use the function ProMenuStringsSelect(), described later in this section.