RAD Studio VCL Reference
TCustomMenuItem Class

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

TCustomMenuItem = class(TCustomActionControl);
class TCustomMenuItem : public TCustomActionControl;

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

Do not create instances of TCustomMenuItem. 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 for your application, set the value of MenuItemControlClass (a global variable) to your own subclass of TCustomMenuItem instead of TStandardMenuItem. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!