API:Vcl.ActnCtrls.TActionToolBar.OnControlCreated
Delphi
property OnControlCreated;
C++
__property OnControlCreated;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.ActnCtrls.pas Vcl.ActnCtrls.hpp |
Vcl.ActnCtrls | TActionToolBar |
Description
Occurs when a control is created on the action band.
Vcl.ActnCtrls.TActionToolBar.OnControlCreated inherits from Vcl.ActnMan.TCustomActionBar.OnControlCreated. All content below this line refers to Vcl.ActnMan.TCustomActionBar.OnControlCreated.
Occurs when a control is created on the action band.
Write an OnControlCreated event handler to enhance or replace the type of UI element that is rendered on the action band.
Sender is the action band component that just created a new control.
AnItem is the new child control that was just created. The OnControlCreated event handler can initialize the properties of this control or replace it with a custom control.