Defining the topmenu in a form file

Topmenus can be defined in the form specification file within the TOPMENU section.

Form topmenus will only be displayed in the window where the form is loaded. Only one topmenu can be defined in a form file. Topmenu item attributes that are common to toolbar buttons should be centralized in action defaults.

Example

TOPMENU tm
  GROUP form (TEXT="Form")
    COMMAND help (TEXT="Help", IMAGE="quest")
    COMMAND quit (TEXT="Quit")
  END
  ...
END

LAYOUT
GRID
{
  ...