Sets the horizontal position of the form or control. The position is shown in increments of 1/100 of a millimeter.
Applies To
-
Check boxes
-
Command buttons
-
Forms
-
Frames
-
Images
-
Indicators
-
Labels
-
Matrix boxes
-
Menu buttons
-
Option buttons
-
Picture boxes
-
Shapes
-
Subforms
-
Tab controls
-
Table boxes
-
Text boxes
Remarks
This property is updated when you insert a new object or drag a selected object to a new position. You can also enter an exact position manually in the Properties window.
If you use the wizard, the form and controls are positioned for you. You can change the position as necessary.
You can change the setting of this property dynamically by using the XPOS Function (Control, Form).
For forms, the default position is centered.
For controls, you can also use the Align options on the Format menu to quickly align several controls.
If this control is contained inside a table box, the setting is ignored for this control.
The XPos property is not supported in the RoleTailored client. The size and position of controls and pages are determined automatically, depending on the display device used.
See Also
© 2010 Microsoft Corporation. All rights reserved.