MENUTITLE

Top  Previous  Next

Syntax

MENUTITLE title as STRING

Description

Defines a new menu title (pull down) in a menu definition macro

Parameters

title - The menu title

Return value

None

Remarks

Creates the title on the menu bar for the pull down. All MENUITEM statements after this will appear in this menu.

See Also: BEGINMENU, ENDMENU, MENUITEM, BEGINPOPUP, 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