PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
PageAddress (Function)
In French: PageAdresse
Allows you to find out the Internet address of a page.
WEBDEV - Server code Returns the address of a WEBDEV page.
WEBDEV - Browser code Returns the address of the current page.
Example
WEBDEV - Server codeAjax
Trace(PageAddress(PAGE_COORDINATE))
// Displays for example:
// /WD220AWP/WD220AWP.EXE/CTX_2420-0-FCFOVjoyom/COORDINATES/SYNC_12564
WEBDEV - Server codeAjax
Trace(PageAddress(PAGE_COORDINATE, paFULL))
// Displays for example:
// http://www.windev.com/WD220AWP/WD220AWP.EXE/CTX_2420-0-FCFOVjoyom/COORDINATES/SYNC_12564
WEBDEV - Browser code
Trace(PageAddress())
// Displays for example:
// /WD220AWP/WD220AWP.EXE/CTX_358-0-NhDrnmZtoc/Page1/SYNC_16069977
WEBDEV - Server codeAjax
// Generate a link that runs the click code
// of a button whose name is a variable
ButtonName is string = "BTN_BUTTON1"
HTM_HTMLControl..Value = "<A HREF=" + PageAddress() + ...
"?" + ButtonName + ">Click here</A>"
WEBDEV - Server codeAjax
// Initialization code of a link used to
//open a page via a secure link
ContextOpen(PAGE_SecurePage)
MySelf..Value = PageAddress(PAGE_SecurePage, paSECURE) + "?WD_ACTION_=REFRESH")
Syntax
WEBDEV - Server codePHPAjax

Retrieving the address of a page Hide the details

<Result> = PageAddress([<Page Name> [, <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 Name>: Optional character string (with or without quotes)
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:
paFULLFull address of the page
paRELATIVE
(Default value)
Address relative to the current domain
paSECUREFull address of the page, secured by SSL
WEBDEV - Browser code

Retrieving the address of the current page Hide the details

<Result> = PageAddress()
<Result>: Unicode character string
Full address of the current page.
Components
WEBDEV - Server code wd230page.dll
Linux wd230page.so
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment