RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionBarStyleEx.GetPopupClass Method

Returns the popup class added to a menu action band.

Pascal
function GetPopupClass(ActionBar: TCustomActionBar): TCustomPopupClass; virtual; abstract;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!