Vcl.XPStyleActnCtrls.TXPStyleActionBars.GetPopupClass
Delphi
function GetPopupClass(ActionBar: TCustomActionBar): TCustomPopupClass; override;
C++
virtual Vcl::Actnmenus::TCustomPopupClass __fastcall GetPopupClass(Vcl::Actnman::TCustomActionBar* ActionBar);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.XPStyleActnCtrls.pas Vcl.XPStyleActnCtrls.hpp |
Vcl.XPStyleActnCtrls | TXPStyleActionBars |
Description
Returns the metaclass of the pop-up menu associated with a menu action band.
GetPopupClass is used to find the pop-up menu associated with a menu action band. The value of GetPopupClass is used to create TCustomActionPopupMenu instances used as pop-up menus for the action bands.