RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStandardStyleActionBars.GetPopupClass Method

Returns the popup class added to a menu action band.

Pascal
function GetPopupClass(ActionBar: TCustomActionBar): TCustomPopupClass; override;
C++
virtual __fastcall TCustomPopupClass GetPopupClass(TCustomActionBar ActionBar);

Call GetPopupClass to find the popup menu associated with a menu action band. Override GetPopupClass to change which popup class is associated with a menu action band depending on the state of the control. 

 

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