Vcl.ComCtrls.TCustomTabControl.DrawTab

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

Delphi

procedure DrawTab(TabIndex: Integer; const Rect: TRect; Active: Boolean); virtual;

C++

virtual void __fastcall DrawTab(int TabIndex, const System::Types::TRect &Rect, bool Active);

プロパティ

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

説明

タブ描画イベントのディスパッチャです。

DrawTab メソッドを派生クラスでオーバーライドすると,タブのペイントを制御できます。

TabIndex は,ペイントを必要とするタブのインデックスです。

Rect は,タブをペイントする領域です。

Active は,タブがアクティブかどうかを示します。

Canvas プロパティを使用すると,タブをペイントできます。

関連項目