Vcl.Samples.Calendar.TCalendar.DrawCell

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

Delphi

procedure DrawCell(ACol, ARow: Longint; ARect: TRect; AState: TGridDrawState); override;

C++

virtual void __fastcall DrawCell(int ACol, int ARow, const System::Types::TRect &ARect, Vcl::Grids::TGridDrawState AState);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

説明

カレンダーのグリッド内に、セルの内容を描画するメソッドです。

DrawCell メソッドは、セルの内容を描画するために使用されます。

ACol および ARow パラメータでは、それぞれ描画するセルの列と行のインデックスを指定します。

ARect パラメータは、セルの境界線をキャンバスの座標位置で指定します。

AState パラメータは、そのセルが選択されているかどうか、そのセルに入力フォーカスがあるかどうか、そして、そのセルがグリッドの固定されたスクロールのない部分にあるのかどうか、を指定します。

関連項目