Vcl.StdActnMenus.TStandardDropDownButton.GetPopupClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPopupClass: TCustomActionBarClass; override;

C++

virtual Vcl::Actnman::TCustomActionBarClass __fastcall GetPopupClass();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.StdActnMenus.pas
Vcl.StdActnMenus.hpp
Vcl.StdActnMenus TStandardDropDownButton

Description

Returns the pop-up class added to a drop-down button.

Vcl.StdActnMenus.TStandardDropDownButton.GetPopupClass inherits from Vcl.ActnCtrls.TCustomDropDownButton.GetPopupClass. All content below this line refers to Vcl.ActnCtrls.TCustomDropDownButton.GetPopupClass.

Returns the pop-up class added to a drop-down button.

GetPopupClass is used for finding the pop-up class associated with a drop-down button. Override GetPopupClass to change which pop-up class is associated with a drop-down button depending on the state of the control.