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

 

 

  

Syntax:

 

DropDown <lValue>

 

The button will show separate section containing a down arrow to open the menu.

 

 

      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_3a ;

                  CAPTION '&Close' ;

                  PICTURE 'button6.bmp' ;

                  ACTION MsgInfo('Close') ;

                  DROPDOWN

 

            DEFINE DROPDOWN MENU BUTTON Button_3a

                  ITEM 'Menu 1'     ACTION MsgInfo('Menu 1')

                  ITEM 'Menu 2'     ACTION MsgInfo('Menu 2')

            END MENU

 

END TOOLBAR