Creating Pulldown Menus (continued)
|
Step 4: Program the Parts (continued)
Create Cascade_3 Menu and Completed Menu
To complete the programming of the pulldown menu system, we populate the
menu for Cascade_3 as follows. This results in the following display that shows
the completed pulldown menu system for this example.
1750 ! Populate menu for "Cascade_3".
1760 !
1770 S$="Toggle_1"
1780 ASSIGN @T1441 TO WIDGET "MENU TOGGLE";PARENT @C144,SET ("LABEL":S$)
1790 !
1800 S$="Button_1"
1810 ASSIGN @B1442 TO WIDGET "MENU BUTTON";PARENT @C144,SET ("LABEL":S$)
1820 !
1830 ! ***************************************************
Cascade_3 Menu and Completed Pulldown Menu System Display