RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMenuButton Class

TCustomMenuButton is the base class for ActionBand button controls.

Pascal
TCustomMenuButton = class(TCustomButtonControl);
C++
class TCustomMenuButton : public TCustomButtonControl;

ActnMenus

TCustomMenuButton is a base class for the standard menu button class TStandardMenuButton. Do not create instances of TCustomMenuButton. If you would like to replace the standard menu button behaviors, use the class TCustomMenuButton as a parent class for your replacement class. To make the change for your application, set the value of MenuButtonControlClass (a global variable) to your own subclass of TCustomMenuButton instead of TStandardMenuButton. 

 

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