共用方式為


Access (的 Form.WindowLeft 屬性)

會傳回 Integer ,指出相對於 Microsoft Access 視窗左邊緣的表單左邊緣以 twip 為單位的螢幕位置。 唯讀。

語法

運算式WindowLeft

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 支援與意見反應