StopPage

(Display Manager Library)

Description: Subroutine to close all instances of a page.
Returns: Nothing
Usage: Script Only.
Function Groups: Graphics
Related to: ShowPage | ClosePopUp
Format: \DisplayManager.StopPage(Pagename[, WindowsOnly]);
Parameters:  
PageName
Required. The name of the page to be stopped.
WindowsOnly
Optional. Boolean, defaults to FALSE. Set TRUE to stop only Windowed pages.
Comments:

If the target page is on display, then a switch to the default page is arranged

Examples:

  If Cancel;
  [
    \DisplayManager.StopPage("ThisPageModule", TRUE);
  ]