Vcl.ComCtrls.TTrackBar.Orientation
Delphi
property Orientation: TTrackBarOrientation read FOrientation write SetOrientation default trHorizontal;
C++
__property TTrackBarOrientation Orientation = {read=FOrientation, write=SetOrientation, default=0};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTrackBar |
説明
トラックバーが垂直か水平かを示します。
トラックバーを移動したい方向に Orientation を設定します。以下に Orientation の値を示します。
値 | 意味 |
---|---|
tbHorizontal |
トラックの長い方の縁はフォームの上部と平行。Min 位置は一番左側にあり,スライダが右に移動すると Max 位置に近づく |
tbVertical |
トラックの長い方の縁はフォームの側面と平行。Min 位置は一番上にあり,スライダが下に移動すると Max 位置に近づく |