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.
Newlook Smartclient only.
Newlook Smartclient
Newlook Server
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.
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. |
Min property | Max property | Wrap property
ScrollBar control (control deprecated in version 10.5)
© 2004-2021 looksoftware. All rights reserved.