RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStandardMenuItem Class

TStandardMenuItem is the default class for menu items in an action band.

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

StdActnMenus

TStandardMenuItem is the class that action bands use to generate child controls that are menu items. Do not create instances of TStandardMenuItem. The action manager automatically handles the creating of TStandardMenuItem instances to represent the actions it contains.  

If you want to replace the class used for menu items, derive your own replacement class from TCustomMenuItem. To substitute your replacement class, set the value of the global MenuItemControlClass variable to your TCustomMenuItem descendant. 

 

TStandardMenuButton 

TStandardMenuPopup 

MenuItemControlClass

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!