How to Make Menu Options State-Sensitive |
Certain menu options may not be very useful in certain situations, for example because other office duties have to be performed first. By making these options sensitive to the state your information system is in, you can prevent these options from being inappropriately activated. NOTE: It is not only the menu line that is displayed as "unavailable" (i.e. gray instead of black text), but also the corresponding button on the toolbar (if a button has been defined, of course). To make menu options state-sensitive:
NOTE: You can also make a menu option state-sensitive by using the action: MenubarSetItem(<itemname>,{'ON'|'OFF'} |