TBandPaintEvent procedure type
Specifies an event handler used to perform actions needed when a band in TCustomControlBar is painted.
Declaration
TBandPaintEvent = procedure(Sender: TObject; Control: TControl;
ACanvas: TCanvas; var ARect: TRect;
var Options: TBandPaintOptions) of objectArguments
Sender | Object for the notification. |
Control | Control which owns the control band for the notification. |
ACanvas | Canvas for the control bar where the handler draws the control band. |
ARect | Dimensions for the control bar band. |
Options | Paint options for the control bar. |
Description
TBandPaintEvent specifies an object procedure used to perform
actions needed when a band in
TCustomControlBar control is
painted. TBandPaintEvent is the type used to implement the
OnBandPaint event handler in
TCustomControlBar.
Arguments passed to the procedure identify the TCustomControlBar drawn in the
band, and the Canvas and drawing rectangle used in the drawing
operation. Options define the drawing features enabled for the
band.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
