Vcl.Grids.TCustomGrid.BoxRect

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

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 の行間にあるセルの画面座標値(ピクセル単位)が得られます。画面上に見えないセルの座標値は,最終の四角形には含まれません。

関連項目