RAD Studio VCL Reference
|
Draws an owner-drawn panel.
procedure DrawPanel(Panel: TStatusPanel; const Rect: TRect); dynamic;
__fastcall DrawPanel(TStatusPanel Panel, const TRect Rect);
DrawPanel is called automatically for each status panel that has a Style of psOwnerDraw. If there is an event handler for the OnDrawPanel event, DrawPanel calls the OnDrawPanel event handler. Otherwise, it fills the panel background using the color specified by the Color property.
Panel is the owner drawn status panel that needs to be drawn.
Rect indicates the dimensions of that panel on the status bar's canvas.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|