PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Handling an Internal Page control by programming
Overview
The Internal Page control is used to display an existing internal page. Several operations can be performed on the Internal Page control by 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 required version
  • 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
May 22 2018