Orientation Property

Sets or returns the orientation of the control. Read-only at runtime.

object.Orientation = [value]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and value is a value or constant as described in Settings.

Client support

Progress bar and track bar controls

Newlook Smartclient only.

Up down control

Newlook Smartclient

Newlook Server

Use

This property is useful if you wish to position a control vertically, rather than horizontally on your form.

When used in conjunction with the UpDown control, the orientation property dictates whether the arrows will be positioned up and down on the form or left and right.

Settings

The settings for value for the progress bar, track bar and up down controls are :

Constant

(Macros)

Constant

(Scripts)

Value

Description

OrientVertical

OrientVertical

1

(Default for up down control) The control is positioned vertically.

OrientHorizontal

OrientHorizontal

0

(Default for progress bar, scroll bar and track bar) The control is positioned horizontally.

See Also

Min property | Max property | Wrap property

Applies To

ProgressBar control

ScrollBar control (control deprecated in version 10.5)

TrackBar control

UpDown control


© 2004-2021 looksoftware. All rights reserved.