Vcl.ExtCtrls.TCustomControlBar.PaintControlFrame

提供: RAD Studio API Documentation
移動先: 案内検索

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);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.ExtCtrls.pas
Vcl.ExtCtrls.hpp
Vcl.ExtCtrls TCustomControlBar

説明

コントロールバンドのフレームをペイントします。

Paint メソッドは,各バンドの PaintControlFrame を呼び出して,そのイメージを描画します。PaintControlFrame は OnBandPaint イベントを生成してから,イベントハンドラから返された値にしたがって各バンドのフレームおよびグラバーを描画します。

Canvas は,コントロールバーのキャンバスです。

AControl は,ペイントするバンドのコントロールです。

ARect は,バンドの領域を示します。

関連項目