WindowLeft 屬性

此頁沒有內(nèi)容條目
內(nèi)容

返回 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