HTBasic Help
×
Menu
Index

Menu Button Widget

 
_______________________________________________________
MENU BUTTON Widget
Appears in a PULLDOWN MENU or a CASCADE MENU after the operator activates the menu
_______________________________________________________
 
Legal Usage                Level-0 Widget:                No
                 Parent to:                None
                 Child of:                        PULLDOWN MENU,
                                         CASCADE MENU
 
Example Image
 
 
Example Program
 
See the Menu System program for an example program that shows how to create a MENU BUTTON widget.
 
NOTE
 
See the following programs for other examples using the MENU BUTTON widget:
 
         Environmental Chamber
         Function Generator
         HPGL VIEW Viewer
         Passwords
         SLIDER Test
         STRING Editor
 
Attributes
 
See MENU BUTTON Widget Attributes for for the MENU BUTTON widget attribute list.
 
Remarks
 
The MENU BUTTON widget is a widget that appears in a PULLDOWN MENU or a CASCADE MENU after the user activates the menu.
 
To activate a MENU BUTTON, follow one of these procedures:
 
·
Press the mouse button when the cursor is in the boundary of the PULLDOWN MENU label area and hold. Then release the mouse button when the mouse cursor is within the borders of the MENU BUTTON.
 
·
Press the mouse button when the cursor is in the boundary of the PULLDOWN MENU label area and release. Then click the mouse button when the mouse cursor is within the borders of the MENU BUTTON.
 
Events
 
The event for MENU BUTTON is:
 
/0
ACTIVATED
 
This event occurs only when the mouse button is pushed and released
while the cursor is within the border of the MENU BUTTON.