Progress
ADM 2 Reference


viewPage (containr.p)

Views a new page without hiding the current page. This is intended to be run from application code that wants to view a new page that is a separate SmartWindow. viewPage will run changePage to view (and if necessary create) the new SmartWindow, but will not hide the objects on the current page, since they are in a separate window that can be viewed at the same time.

Parameters:

INPUT piPageNum AS INTEGER
Returns: Nothing (procedure)

Notes:

Examples:

/* In this example, a SmartWindow has been placed onto page 5 of a 
   containing SmartWindow. When a button is pressed, viewPage views the 
   subwindow without hiding anything or changing the current page on the 
   main SmartWindow. */ 
ON CHOOSE OF Btn_SubWin 
DO: 
  RUN viewPage(5). 
END. 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095