Form.WindowLeft Property

Access Developer Reference

Returns an Integer indicating the screen position in twips of the left edge of a form relative to the left edge of the Microsoft Access window. Read-only.

Syntax

expression.WindowLeft

expression   A variable that represents a Form object.

Remarks

Use the Move method to change the position of a form.

Example

The following example returns the screen position of the top and left edges of the first form in the current project.

Visual Basic for Applications
  With Forms(0)
MsgBox "The form is " &amp; .<strong class="bterm">WindowLeft</strong> _
    &amp; " twips from the left edge of the Access window and " _
    &amp; .WindowTop _
    &amp; " twips from the top edge of the Access window."

End With