Vcl.ComCtrls.TSBCreatePanelClassEvent
C++
typedef void __fastcall (__closure *TSBCreatePanelClassEvent)(TCustomStatusBar* Sender, TStatusPanelClass &PanelClass);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.ComCtrls.hpp | Vcl.ComCtrls | Vcl.ComCtrls |
Description
TSBCreatePanelClassEvent is the type of the Vcl.ComCtrls.TCustomStatusBar.OnCreatePanelClass and the Vcl.ComCtrls.TCustomStatusBar.OnCreatePanelClass event handlers.
Sender is the status bar object that needs to add a new panel.
PanelClass returns a class reference to the TStatusPanel descendant that should be used to implement the new panel.