Table of contents
Collapse the table of content
Expand the table of content

Orientation Property (Microsoft Forms)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Specifies whether the SpinButton or ScrollBar is oriented vertically or horizontally. Syntaxobject. Orientation [= fmOrientation ] The Orientation property syntax has these parts:

objectRequired. A valid object.
fmOrientationOptional. Orientation of the control.

Settings The settings for fmOrientation are:

fmOrientationAuto-1Automatically determines the orientation based upon the dimensions of the control (default).
FmOrientationVertical0Control is rendered vertically.
FmOrientationHorizontal1Control is rendered horizontally.

Remarks If you specify automatic orientation, the height and width of the control determine whether it appears horizontally or vertically. For example, if the control is wider than it is tall, it appears horizontally; if it is taller than it is wide, the control appears vertically.

© 2018 Microsoft