Vcl.ExtCtrls.TBandPaintEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TBandPaintEvent = procedure (Sender: TObject; Control: TControl;
Canvas: TCanvas; var ARect: TRect; var Options: TBandPaintOptions) of object;

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
type
typedef
public
Vcl.ExtCtrls.pas
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.

See Also