Vcl.ActnMan.TCustomActionBar.OnControlCreated

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnControlCreated: TControlCreatedEvent read FOnControlCreated  write FOnControlCreated;

C++

__property TControlCreatedEvent OnControlCreated = {read=FOnControlCreated, write=FOnControlCreated};

Properties

Type Visibility Source Unit Parent
event public
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TCustomActionBar

Description

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.

See Also