Vcl.ColorGrd.TColorGrid.SquareFromPos

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

Delphi

function SquareFromPos(X, Y: Integer): Integer;

C++

int __fastcall SquareFromPos(int X, int Y);

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.ColorGrd.pas
Vcl.ColorGrd.hpp
Vcl.ColorGrd TColorGrid


説明

X、Y 座標を持つ、カラー スロットのインデックスを返します。

SquareFromPos は、X、Y 座標で示されるカラー スロットが存在する位置を判断し、そのインデックスを返します。

関連項目