WholeDropDown Property
Specifies whether a Toolbar button will be used to open a dropdown menu

 

 

  

Syntax:

 

WholeDropDown <lValue>

 

Sample:

 

 

      DEFINE TOOLBAR ToolBar_a BUTTONSIZE 30,30 FONT 'Arial' SIZE 8  FLAT

 

            BUTTON Button_1a ;

                  CAPTION '&Undo' ;

                  PICTURE 'button4.bmp' ;

                  ACTION MsgInfo('Undo')

 

            BUTTON Button_2a ;

                  CAPTION '&Save' ;

                  PICTURE 'button5.bmp' ;

                  WHOLEDROPDOWN

 

                  DEFINE DROPDOWN MENU BUTTON Button_2a

                        ITEM 'Exit'       ACTION MsgInfo('Exit')

                        ITEM 'About'      ACTION MsgInfo ("HMG ToolBar Demo")

                  END MENU

 

END TOOLBAR