Vcl.ExtCtrls.TBandPaintEvent
C++
typedef void __fastcall (__closure *TBandPaintEvent)(System::TObject* Sender, Vcl::Controls::TControl* Control, Vcl::Graphics::TCanvas* Canvas, System::Types::TRect &ARect, TBandPaintOptions &Options);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.ExtCtrls.hpp | Vcl.ExtCtrls | Vcl.ExtCtrls |
Description
TBandPaintEvent is the type of the Vcl.ExtCtrls.TCustomControlBar.OnBandPaint and Vcl.ExtCtrls.TCustomControlBar.OnBandPaint event handlers.
Sender is the control bar in which a band is about to be painted.
Control is the control on the band that is about to be painted.
Canvas is the control’s canvas.
ARect is the control’s area. This value can be adjusted by the event handler.
Options specifies which parts of the band are drawn. This value can be adjusted by the event handler.