RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TSBCreatePanelClassEvent Type

TSBCreatePanelClassEvent is the type of the OnCreatePanelClass event handler.

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

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!