Vcl.ExtCtrls.TCustomControlBar.PaintControlFrame

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure PaintControlFrame(Canvas: TCanvas; AControl: TControl;
var ARect: TRect); virtual;

C++

virtual void __fastcall PaintControlFrame(Vcl::Graphics::TCanvas* Canvas, Vcl::Controls::TControl* AControl, System::Types::TRect &ARect);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomControlBar

Description

Paints a control band's frame.

The Paint method calls PaintControlFrame for each band to render its image. PaintControlFrame generates an OnBandPaint event, and then draws the frame and grabber for the band, depending on the values returned by the event handler.

Canvas is the control bar's canvas.

AControl is the control on the band to be painted.

ARect indicates the dimensions of the band.

See Also