Progress
ADM 2 Reference


selectPage (containr.p)

Changes the currently selected page. If the previous current page is not page 0 (the background page that is always visible), then hideObject is run in all the objects on the CurrentPage. Then the CurrentPage is changed to the new page number of piPageNum, and the changePage procedure is run to view and, if necessary, create the objects on the new page.

Parameters:

INPUT piPageNum AS INTEGER
Returns: Nothing (procedure)

Notes:

Examples:

/* This trigger code allows the user to select a page by typing the 
   number into a field. */ 
ON LEAVE OF PageNum  
DO: 
   RUN SelectPage(INTEGER(PageNum:SCREEN-VALUE)). 
END. 


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