Sign in Join
FPDoc Onlineexperiment

TStatusBar.DrawPanel procedure

Member of TStatusBarprotectedIn unit ComCtrls

Signals the OnDrawPanel event handler (when assigned).

Declaration

pascal
procedure DrawPanel(Panel: TStatusPanel; const Rect: TRect); virtual

Arguments

Panel

Panel drawn in the method.

Rect

Rectangle for the drawing operation.

Description

DrawPanel is a method used to draw the status bar panel specified in Panel to the specified rectangle ( Rect) on the Canvas for the control. It signals the OnDrawPanel event handler (when assigned) using the values specified in the arguments. DrawPanel is called from the LMDrawItem method and occurs when the LM_DRAWITEM message is handled for the control.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.