Vcl.ComCtrls.TSBCreatePanelClassEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TSBCreatePanelClassEvent = procedure(Sender: TCustomStatusBar;
var PanelClass: TStatusPanelClass) of object;

C++

typedef void __fastcall (__closure *TSBCreatePanelClassEvent)(TCustomStatusBar* Sender, TStatusPanelClass &PanelClass);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ComCtrls.pas
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.

See Also