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:
- This procedure is designed to switch from one page on a single frame to another, so the objects on the previous page are hidden and the objects on the new page viewed. If the new page is in fact a separate SmartWindow, then in most cases the similar procedure viewPage should be used, which will view the objects on the new page without hiding the current page.
- The selectPage procedure is run when a tab on the SmartFolder is pressed. It can also be run from application code when some other mechanism is used to change pages.
Examples:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |