Orientation: TrackBarOrientation;
The Orientation property determines orientation of the component on the form.
To determine a component border style, use the ITrackBar.BorderStyle property.
Executing the example requires a form containing the Button component with the Button1 identifier and the TrackBar component with the TrackBar1 identifier. Place the TrackBar1 component horizontally.
The example a handler is the OnClick event for the Button1 component.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
TrackBar1.Orientation := TrackBarOrientation.Vertical;
End Sub Button1OnClick;
Clicking the Button1 button places the TrackBar1 component vertically.
See also: