ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Page property is used to handle the page loaded in the WEBDEV Page control.
The only syntaxes allowed on this property are the following:
  • comparisons with NULL values.
  • calling a procedure.
Example
// On ouvre la fenêtre de facturation
IF Open(FEN_Facturation, NomClient, NomOpération, CompteRendu, Goodies) = True THEN
	// On a facturé, on peut demander à la page WEBDEV de supprimer le véhicule de la liste
	WEBDEV_ListeVéhicules.Page.actualise_ligne(nnumligne)
END
Syntax

Checking if a page is loaded in the control

IF <WEBDEV Page control>.Page = Null THEN
   ...
   // The control does not contain a WEBDEV page
   ...
END

IF <WEBDEV Page control>.Page <> Null THEN
   ...
   // The control contains a WEBDEV page
   ...
END

Calling a browser procedure of the page

<WEBDEV Page control>.Page.ProcedureName()

Calling a browser procedure of the page with a return value

AFTER MyResult = <WEBDEV Page control>.Page.ProdcedureName() DO
// Use of the result
END
Remarks
  • The "After loading HTML page" event is called when the WEBDEV page is fully loaded.
  • You can call procedures of the WINDEV control from the WEBDEV page using the MyHostControl keyword.
  • Procedure call: You can pass parameters to the called procedure..
  • In syntax 3 ("Calling a browser procedure of the page with a return value"), the return value is received asynchronously.
Related Examples:
WD WEBDEVInWINDEV Training: WD WEBDEVInWINDEV
[ + ] This example shows the implementation of "WEBDEV in WINDEV".
It explains how to insert a WEBDEV page, a site or part of a site in a WINDEV window and how to establish two-way communication between them in WLanguage.
There are multiple use cases for the integration of a WEBDEV page directly in a WINDEV window:
- merge existing WINDEV and WEBDEV elements,
- progressively webify an application. In this case, simply develop new features in WEBDEV and integrate them into existing WINDEV applications.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help