Vcl.Menus.TMainMenu
Delphi
TMainMenu = class(TMenu)
C++
class PASCALIMPLEMENTATION TMainMenu : public TMenu
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | Vcl.Menus |
Description
TMainMenu encapsulates a menu bar and its accompanying drop-down menus for a form.
Use TMainMenu to provide the main menu for a form. To begin designing a menu, add a main menu to a form, and double-click the component.
TMainMenu introduces properties and methods for merging the drop-down menus of the main menu with the main menu of another form.
TMainMenu introduces properties and methods for assisting in the menu negotiation process of an OLE container.
Tip: To create a menu that users can configure at runtime, use the TActionMainMenuBar component with an action manager instead.