PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
Allows you to find out the Internet address of a page.
  • WEBDEV - Server codePHP Returns the address of a WEBDEV page.
  • WEBDEV - Browser code Returns the address of the current page.
Example
WEBDEV - Server codeAjax
Trace(PageAddress(PAGE_COORDONNEE))
// Affiche par exemple:
// /WD260AWP/WD260AWP.EXE/CTX_2420-0-FCFOVjoyom/COORDONNEES/SYNC_12564
WEBDEV - Server codeAjax
Trace(PageAddress(PAGE_COORDONNEE, pdFull))
// Affiche par exemple:
// http://www.pcsoft.fr/WD260AWP/WD260AWP.EXE/CTX_2420-0-FCFOVjoyom/COORDONNEES/SYNC_12564
WEBDEV - Browser code
Trace(PageAddress())
// Affiche par exemple:
// /WD260AWP/WD260AWP.EXE/CTX_358-0-NhDrnmZtoc/Page1/SYNC_16069977
WEBDEV - Server codeAjax
// Génération d'un lien qui exécute le code de
// clic d'un bouton dont le nom est une variable
NomBouton is string = "BTN_BOUTON1"
HTM_ChampHTML.Valeur = "<A HREF=" + PageAddress() + ...
"?" + NomBouton + ">Cliquez-moi</A>"
WEBDEV - Server codeAjax
// Code d'initialisation d'un lien permettant
// d'ouvrir une page en liaison sécurisée
ContextOpen(PAGE_PageSecu)
MySelf.Value = PageAddress(PAGE_PageSecu, pdSecure) + "?WD_ACTION_=REFRESH")
Syntax
WEBDEV - Server codePHPAjax

Retrieving the address of a page Hide the details

<Result> = PageAddress([<Page> [, <Option>]])
<Result>: ANSI character string
Address of the specified page or empty string ("") if:
  • the page does not exist in the project
  • the page context is not opened (ContextOpen).
<Page>: Page name
Name of the page whose address must be returned.
If this parameter is not specified or if it corresponds to an empty string (""), the name of the page corresponds to the name of the current page.
<Option>: Optional constant
Type of address to return:
paFULLComplete Address of the page (Address in HTTP).
paRELATIVE
(Default value)
Address relative to the current domain.
paSECUREAddress complete page, secured by SSL (Address in HTTPS).
WEBDEV - Browser code

Retrieving the address of the current page Hide the details

<Result> = PageAddress()
<Result>: Unicode string
Full address of the current page.
Business / UI classification: UI Code
Component: wd270page.dll
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment