傳回整 數 ,指出表單左邊緣相對於 Microsoft Access 視窗左邊緣的螢幕位置,以 twips 為單位。 唯讀。
語法
表達。視窗左
expression 代表 Form 物件的變數。
註解
使用 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
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。