API: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
TMenu is the base type for menu components such as TMainMenu and TPopupMenu.
Vcl.Menus.TMainMenu inherits from Vcl.Menus.TMenu. All content below this line refers to Vcl.Menus.TMenu.
TMenu is the base type for menu components such as TMainMenu and TPopupMenu.
Use TMenu as a base class when defining a component that represents a collection of menu items. TMenu introduces properties and methods to create a Windows menu that represents a set of menu items, dispatch commands associated with those menu items, and locate the help context id for any of those menu items.