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