[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'ComCtrls' (#lcl)

# TCustomProgressBar.Orientation

Specifies the orientation and direction for the progress bar.

## Declaration

Source position: comctrls.pp line 1851

`public property TCustomProgressBar.Orientation : TProgressBarOrientation read FOrientation write SetOrientation default pbHorizontal;`

## Description

Orientation is a TProgressBarOrientation property which indicates the orientation and direction for the progress bar. The default value is pbHorizontal, and orients the progress bar horizontally. As the value in Position is increased, the progress bar is moved from left to right.

See TProgressBarOrientation for the available values and their meanings.

Changing the value for the property causes the ApplyChanges method to be called.

## See also

TCustomProgressBar.Max |  | Specifies the maximum value for the Position in the progress bar.
TCustomProgressBar.Min |  | Specifies the minimum value for the Position in the progress bar.
TCustomProgressBar.Position |  | The current position for the progress bar.
TCustomProgressBar.ApplyChanges |  | ApplyChanges - apply any changes that have occurred.
TProgressBarOrientation |  | Represents the orientations used for a progress bar.