[Overview][Types][Classes][Procedures and functions][Index] |
Specifies an event handler used to perform actions needed when a band in TCustomControlBar is painted.
Source position: extctrls.pp line 1469
type TBandPaintEvent = procedure( |
Sender: TObject; |
Control: TControl; |
ACanvas: TCanvas; |
var ARect: TRect; |
var Options: TBandPaintOptions |
) of object; |
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. |
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.
|
Implements a panel used to maintain and manage tool bars and tool buttons on a form. |
|
|
Draws the control with its image, decorations, and visible bands. |
|
|
Event handler signalled to render a visible band on the specified control with the specified paint options. |
|
|
Signals the OnBandPaint event handler using the specified arguments. |
Version 3.2 | Generated 2024-02-25 | Home |