Vcl.Menus.TMenu

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTMenu

Delphi

TMenu = class(TComponent)

C++

class PASCALIMPLEMENTATION TMenu : public System::Classes::TComponent

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.

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.

See Also