Sets a value that specifies how to anchor the control horizontally.
Applies To
-
Check boxes
-
Command buttons
-
Frames
-
Images
-
Indicators
-
Labels
-
Matrix boxes
-
Menu buttons
-
Option buttons
-
Picture boxes
-
Shapes
-
Subforms
-
Tab controls
-
Table boxes
-
Text boxes
Property Value
Value | Description |
---|---|
Left (default) |
Anchor the control on the left |
Right |
Anchor the control on the right |
Both |
Anchor the control on the left and right |
Remarks
If this control is contained in a table box, the setting for this control is ignored.
If the control is used as a column in a table box and you set the HorzGlue property to a value of Both, the column will resize accordingly when the user resizes the frame.
If you set this property to a value of Both for several columns in a table box, the settings will apply to the leftmost column.
With the exception of the HorzGlue property on columns, the HorzGlue property and VertGlue Property are typically not active at design time.
This property is not supported in the RoleTailored client.
See Also
© 2010 Microsoft Corporation. All rights reserved.