ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Internal Page control
  • Overview
  • Programming in WLanguage
  • Passing parameters to an internal page
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Handling an Internal Page control through programming
Overview
The Internal Page control is used to display an existing internal page. Several operations can be performed on the Internal Page control through programming.
Caution: Do not confuse "Internal Page control" and "Internal page": the "Internal page" control is a type of control while the "Internal page" is a type of page.
Programming in WLanguage

Passing parameters to an internal page

To pass parameters to an internal page, we advise you to:
  1. Create an initialization procedure in the internal page.
  2. Call this procedure in the page that contains the "Internal Page" control.
Example:
// -- PAGE_Page1 initialization code
// MyInternalPage is a PAGE_Page1 control
// that is linked to an internal page
// This internal page contains a
// procedure Init()
MyInternalPage.Init(Param1, Param2)
Minimum version required
  • Version 10
Comments
How I can change the Internal Page source?
I had several pages with very different content among them as controls, designs and others that I used as embedded pages with an iFrame. The problem with this is that I did not respect the height of the page and I generated a second scroll bar separately from my own. index. With the Internal Page I saw that this did not happen and they did adapt in height compared to the pages in an iFrame, but I wonder ... Is there a way to change the content of an Internal Page control? the ..SourcePage
Robles Luis
22 May 2018

Last update: 05/26/2022

Send a report | Local help