Vcl.ComCtrls.TCustomStatusBar.OnCreatePanelClass

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnCreatePanelClass: TSBCreatePanelClassEvent read FOnCreatePanelClass  write FOnCreatePanelClass;

C++

__property TSBCreatePanelClassEvent OnCreatePanelClass = {read=FOnCreatePanelClass, write=FOnCreatePanelClass};

Properties

Type Visibility Source Unit Parent
event public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomStatusBar

Description

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