Page.Run() Method
Version: Available or changed with runtime version 1.0.
Creates and launches a page that you specify. You can use CLEAR method to remove the page.
Syntax
Page.Run()
Parameters
Page
Type: Page
An instance of the Page data type.
Remarks
If, at design time, you do not know the specific page you want to run, then use this method or the Page.RunModal Method and specify the page in the Number parameter.
If you do know which page you want to run, then you can create a Page variable, set the subtype of the variable to a specific page, and then use the Run Method (Page) or RunModal Method (Page) on the Page variable.
When you want to close the page, use CurrPage.Close. CurrPage is a predefined system variable. For more information, see System-Defined Variables.
Example
Page.Run(4711)
See Also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應