TabControl.HorizontalAnchor (Access)
Gets or sets an AcHorizontalAnchor constant that indicates how the tab control is anchored horizontally within its layout. Possible return values are acHorizontalAnchorBoth - The control is stretched horizontally across its layout, acHorizontalAnchorLeft - The control is anchored to the left side of its layout, acHorizontalAnchorRight - The control is anchored to the right side of its layout.
The default value is acHorizontalAnchorLeft.
CreateForm.Controls(1).HorizontalAnchor = acHorizontalAnchorBoth