Vcl.Grids.TCustomGrid.GridLineWidth

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

Delphi

property GridLineWidth: Integer read FGridLineWidth write SetGridLineWidth default 1;

C++

__property int GridLineWidth = {read=FGridLineWidth, write=SetGridLineWidth, default=1};

プロパティ

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

説明

セルとセルとを分ける線の幅(ピクセル単位)を指定します。

GridLineWidth プロパティを設定すると,グリッドの各セルを分ける線を太さを指定できます。GridLineWidth プロパティが 0 の場合,セルを分ける線は描画されません。

Options プロパティに goFixedHorzLine,goFixedVertLine,goHorzLine,goVertLine のいずれも含まれていない場合,GridLineWidth プロパティは無効になります。

メモ:  歪みが現れることがあるので,Windows 9x または Windows ME 上で実行するアプリケーションでは 3 ピクセルより大きな値を指定することはお勧めしません。

関連項目