BEGINPOPUP

Top  Previous  Next

Syntax

BEGINPOPUP title as STRING

Description

Begins definition of a popup menu (sub menu) inside of a menu definition macro.

Parameters

title -  Title of the popup menu

Return value

None

Remarks

Every BEGINPOPUP statement must be paired with an ENDPOPUP.  All menu items defined between the two will be located in the popup menu. Popup menus can be nested to any level.

See Also: BEGINMENU, ENDMENU, MENUITEM, MENUTITLE, ENDPOPUP, SEPARATOR, BEGININSERTMENU

Example usage

BEGINMENU win
     MENUTITLE "&File"
     MENUITEM "Open",0,1
     MENUITEM "Close",0,2
     BEGINPOPUP "Save As..."
          MENUITEM "Ascii",0,3
          MENUITEM "Binary",0,4
     ENDPOPUP
     SEPARATOR
     MENUITEM "&QUIT",0,5
     MENUTITLE "&Edit"
     MENUITEM "Cut",0,6
ENDMENU