[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TStatusBar.OnDrawPanel

Event handler signalled to draw a panel in the status bar.

Declaration

Source position: comctrls.pp line 209

published property TStatusBar.OnDrawPanel : TDrawPanelEvent
  read FOnDrawPanel
  write FOnDrawPanel;

Description

OnDrawPanel is an event handler used to draw the specified panel on the status bar. OnDrawPanel is signalled (when assigned) from the DrawPanel method. Assign an object procedure using the signature in TDrawPanelEvent to render the specified panel to the desired rectangle in the status bar.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.