ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The Page property is used to handle the page loaded in the WEBDEV Page control.
This property only supports the following syntaxes:
  • comparisons with NULL values.
  • calling a procedure.
Example
// Open the billing window
IF Open(WIN_Billing, CustomerName, OperationName, Report, Goodies) = True THEN
// The invoice has been established. We can request the WEBDEV page to remove the vehicle from the list
WEBDEV_VehicleList.Page.refresh_row(nRowNum)
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 the 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.
  • Call to a procedure: It is possible to pass parameters to the procedure called.
  • 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 (WINDEV): 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: 09/06/2023

Send a report | Local help