Share via


CommandButton.HorizontalAnchor Property (Access)

Gets or sets an AcHorizontalAnchor constant that indicates how the button is anchored horizontally within its layout. Read/write.

Version Information

Version Added: Access 2007

Syntax

expression .HorizontalAnchor

expression A variable that represents a CommandButton object.

Remarks

The default value is acHorizontalAnchorLeft.

See Also

Concepts

CommandButton Object

CommandButton Object Members