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.




‚ÄÉType: Page
An instance of the Page data type.


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.



See Also

Page Data Type
Get Started with AL
Developing Extensions