Vcl.Menus.TMenuItem

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTMenuItem

Delphi

TMenuItem = class(TComponent)

C++

class PASCALIMPLEMENTATION TMenuItem : public System::Classes::TComponent

Properties

Type Visibility Source Unit Parent
class public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus Vcl.Menus

Description

TMenuItem describes the properties of an item in a menu.

Use TMenuItem to specify the appearance and behavior of an item in a menu. Each TMainMenu or TPopupMenu component can contain multiple menu items. When a menu is defined at design time, the Menu Designer automatically creates menu item objects for each command on the menu.

The Caption property can be used to define an accelerator key to the menu item of a TMainMenu.

See Also

Code Examples