RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TTrackBar.Orientation Property

Specifies whether the track bar is horizontal or vertical.

Pascal
property Orientation: TTrackBarOrientation;
C++
__property TTrackBarOrientation Orientation;

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!