Vcl.Grids.TCustomGrid.BoxRect
Delphi
function BoxRect(ALeft, ATop, ARight, ABottom: Longint): TRect;
C++
System::Types::TRect __fastcall BoxRect(int ALeft, int ATop, int ARight, int ABottom);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
説明
指定されたセル集合の画面座標値を返します。
BoxRect メソッドを呼び出すと,インデックス ALeft~ARight の列間およびインデックス ATop~ABottom の行間にあるセルの画面座標値(ピクセル単位)が得られます。画面上に見えないセルの座標値は,最終の四角形には含まれません。