RAD Studio VCL Reference
|
TStandardMenuItem is the default class for menu items in an action band.
TStandardMenuItem = class(TCustomMenuItem);
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.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|