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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de