Vcl.ActnMenus.TCustomMenuItem

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.ActnMan.TCustomActionControlVcl.Controls.TGraphicControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomMenuItem

Delphi

TCustomMenuItem = class(TCustomActionControl)

C++

class PASCALIMPLEMENTATION TCustomMenuItem : public Vcl::Actnman::TCustomActionControl

Properties

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

Description

TCustomMenuItem is the base class for the ActionBand custom control TStandardMenuItem.

TCustomMenuItem is a base class for TStandardMenuItem, the standard ActionBand menu item class.

Do not create instances of TStandardMenuItem. If you would like to replace the standard menu item, use the class TCustomMenuItem as a parent class for your replacement class. To make the change in your application, set the value of MenuItemControlClass (a global variable) to your own subclass of TCustomMenuItem instead of TStandardMenuItem.

See Also