Vcl.ComCtrls.TTrackBar.Orientation
Delphi
property Orientation: TTrackBarOrientation read FOrientation write SetOrientation default trHorizontal;
C++
__property TTrackBarOrientation Orientation = {read=FOrientation, write=SetOrientation, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TTrackBar |
Description
Specifies whether the track bar is horizontal or vertical.
Set Orientation to the desired orientation of the track bar. Orientation has these possible values:
Value | Meaning |
---|---|
tbHorizontal |
The long edge of the track is parallel to the top of the form. The Min position is on the left and the Max position is on the right. |
tbVertical |
The long edge of the track is parallel to the side of the form. The Min position is on the top and the Max position is on the bottom. |