FMX.Grid.TGridModel.TCoord

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

Delphi

    TCoord = record
      procedure Clear;
      function IsEmpty: Boolean;
      case Boolean of
        False:
          (Col, Row: Integer);
        True:
          (AsArray: array [0 .. 1] of Integer);
    end;

C++

struct DECLSPEC_DRECORD TCoord
{
public:
    void __fastcall Clear();
    bool __fastcall IsEmpty();
public:
    union
    {
        struct
        {
            System::StaticArray<int, 2> AsArray;
        };
        struct
        {
            int Col;
            int Row;
        };
    };
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TGridModel


説明

セルのグリッド座標を表します(列番号行番号)。

Col および Row を使用してセル座標を定義し、AsArray を使用してそれらを配列として取得することができます。

Clear を使用して、Col および Row の値をリセットすることができます。IsEmpty を使用して、それらの値が定義されているかどうか、チェックすることができます。

関連項目