API:Vcl.ComCtrls.TStatusBar.OnCreatePanelClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCreatePanelClass: TSBCreatePanelClassEvent read FOnCreatePanelClass write FOnCreatePanelClass;

C++

__property OnCreatePanelClass;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TStatusBar

Description

Occurs when a status panel needs to be created.

Vcl.ComCtrls.TStatusBar.OnCreatePanelClass inherits from Vcl.ComCtrls.TCustomStatusBar.OnCreatePanelClass. All content below this line refers to Vcl.ComCtrls.TCustomStatusBar.OnCreatePanelClass.

Occurs when a status panel needs to be created.

Write an OnCreatePanelClass event handler to specify a custom TStatusPanel descendant that the status bar should use to implement its panels.

OnCreatePanelClass is an event handler of type Vcl.ComCtrls.TSBCreatePanelClassEvent.

See Also