Sign in Join
FPDoc Onlineexperiment

TForm.Menu property

Member of TFormpublishedIn unit Forms

The main menu for the form instance.

Declaration

pascal
property Menu:;

Description

Menu is the TMainMenu instance assigned to the form.

Assigning a new value to Menu causes other forms on the Screen to be checked for a duplicate menu assignment. A singular TMainMenu instance cannot be assigned to more than one form. An EInvalidOperation is raised if another form already uses the menu instance. The UpdateMenu method is called when the new property value has been set.

This description is the one of Forms.TCustomForm.Menu.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.