RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMenuItem Class

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

Pascal
TCustomMenuItem = class(TCustomActionControl);
C++
class TCustomMenuItem : public TCustomActionControl;

ActnMenus

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!