|
|
|
|
|
- Retrieving parameters in the "Global declarations" event
- Retrieving the parameters with PageParameter
- Principle for opening a page
- Operations run when the page is displayed
- Special cases
- Opening a page of a component
- Pre-launched sessions
PageDisplay (Function) In french: PageAffiche Displays a web page in the user's browser. - If PageDisplay is used in the code of a Button control, the page will be opened in the target defined for this Button control ("General" tab of the control description or ChangeTarget).
- To display any page in a browser, use one of the following functions: BrowserRunApp or BrowserOpen.
// Displays a static page in the current frame PageDisplay(PAGE_STATICPAGE) // Displays any page in the current frame IF Nation() = nationEnglish THEN PageDisplay("US/PAGE_Example.HTM") ELSE PageDisplay("FR/PAGE_Example.HTM") END // Displays a static page in a new resizable browser // (500x400). This browser will be closed if the calling browser is closed. sPageName is string = "STATICPAGE" PageDisplay(sPageName, NewBrowser, ... "NEWBRW", ONResizable + ONScrollBar, 500, 400, 10, 20, "dependent=1") Remarks Pre-launched sessions If your project uses pre-launched sessions, this function must not be used in the project initialization event. This function must be used in the "Initialize project after connecting to the site" event. Business / UI classification: UI Code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|