API:Vcl.RibbonStyleActnCtrls.TRibbonStyleActionBars.GetPopupClass

From RAD Studio API Documentation
Jump to: navigation, search

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.RibbonStyleActnCtrls.pas
Vcl.RibbonStyleActnCtrls.hpp
Vcl.RibbonStyleActnCtrls TRibbonStyleActionBars

Description

Returns the metaclass of the pop-up menu associated with a menu action band.

Vcl.RibbonStyleActnCtrls.TRibbonStyleActionBars.GetPopupClass inherits from Vcl.XPStyleActnCtrls.TXPStyleActionBars.GetPopupClass. All content below this line refers to Vcl.XPStyleActnCtrls.TXPStyleActionBars.GetPopupClass.

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.

See Also