Vcl.Grids.TCustomGrid.ChangeGridOrientation

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

Delphi

procedure ChangeGridOrientation(RightToLeftOrientation: Boolean);

C++

void __fastcall ChangeGridOrientation(bool RightToLeftOrientation);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TCustomGrid

説明

グリッドのキャンバスが右から左への描画に対応するか,左から右への描画に対応するかを指定します。

TCustomGrid は,描画時に内部で ChangeGridOrientation メソッドを使用します。ChangeGridOrientation は,グリッドのキャンバスの起点と寸法を設定して,RightToLeftOrientation パラメータの値を基に右から左または左から右に描画できるようにします。

グリッドを右から左に描画しなければならないなら,RightToLeftOrientation は true です。グリッドがキャンバスを標準に戻さなければならないなら,RoghtToLeftOrientation は false です。

関連項目