Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

您可以在 Access 桌面資料庫中使用 RestoreWindow 宏指令,將最大化或最小化的視窗還原為先前的大小。

附註: 從 Access 2010 開始,還原宏指令已重新命名為 RestoreWindow。

附註: 您無法將此巨集指令套用至 Visual Basic 編輯器的程式碼視窗。 如需如何影響程式碼視窗的詳細資訊,請參閱 WindowState 屬性主題。

設定

RestoreWindow 宏指令沒有任何自變數。

註解

此宏指令適用於選取的物件。 如果物件已最小化,您可以先使用 SelectObject 宏指令加以選取,然後使用 RestoreWindow 宏指令將其還原為先前的大小。

您可以使用 MoveAndSizeWindow 宏指令來移動或調整您已還原的視窗大小。

RestoreWindow 宏指令的效果與按下視窗右上角的 [還原] 按鈕或按兩下視窗 [控制] 選單上的 [還原] 命令相同

若要在 Visual Basic for Applications (VBA) 模組中執行 RestoreWindow 宏指令,請使用 DoCmd 物件的還原方法。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×