Vcl.ComCtrls.TCustomStatusBar.OnCreatePanelClass
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.