Vcl.ActnCtrls.TActionToolBar.OnGetControlClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnGetControlClass;

C++

__property OnGetControlClass;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ActnCtrls.pas
Vcl.ActnCtrls.hpp
Vcl.ActnCtrls TActionToolBar

Description

Occurs when an item is to be placed on the action band.

Vcl.ActnCtrls.TActionToolBar.OnGetControlClass inherits from Vcl.ActnMan.TCustomActionBar.OnGetControlClass. All content below this line refers to Vcl.ActnMan.TCustomActionBar.OnGetControlClass.

Occurs when an item is to be placed on the action band.

Write an OnGetControlClass event handler to specify the class of the item that the action band should create to represent a specified action client.

Sender is the action band that needs to generate a child control to represent an action client.

AnItem is the action client that the new control should represent.

ControlClass returns the class reference for the new control. This should be a descendant of TCustomActionControl.

See Also