RAD Studio VCL Reference
TActionBarStyleEx.GetPopupClass Method

Returns the popup class added to a menu action band.

function GetPopupClass(ActionBar: TCustomActionBar): TCustomPopupClass; virtual; abstract;
virtual __fastcall TCustomPopupClass GetPopupClass(TCustomActionBar ActionBar) = 0;

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!