Vcl.Grids.TCustomGrid.CellRect
Delphi
function CellRect(ACol, ARow: Longint): TRect;
C++
System::Types::TRect __fastcall CellRect(int ACol, int ARow);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
説明
セルの画面座標値を返します。
CellRect メソッドを呼び出すと,ACol および ARow パラメータで指定された行と列のセルの境界をピクセル単位で取得できます。ACol と ARow が 0 の場合,左上のセルが指定されたことになります。
指定したセルが表示されない場合,CellRect は空の四角形を返します。