返回 Integer 值,指定以緹單位窗體或報表的左邊緣相對 Microsoft Access 窗口左邊緣的屏幕位置。只讀。
expression.WindowLeft
expression 必需。返回“應(yīng)用于”列表中的一個對象的表達式。
使用 Move 方法可以更改窗體或報表的位置。
下面的示例返回當前項目中第一個窗體的頂端和左邊緣的屏幕位置。
With Forms(0)
MsgBox "The form is " & .WindowLeft _
& " twips from the left edge of the Access window and " _
& .WindowTop _
& " twips from the top edge of the Access window."
End With