|
|
|
|
|
Page (Property) In french: Page
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.
IF Open(FEN_Facturation, NomClient, NomOpération, CompteRendu, Goodies) = True THEN
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:
|
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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|