ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Various properties
  • URL property and Value property
  • Limits
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The URL property is used to:
  • Get the address associated with a control.
  • Change the address associated with a control.
This control can correspond to:
  • WINDEVWindowsiPhone/iPadIOS Widget an HTML Display control, in the window editor.
  • a link, button, clickable image, iFrame control, Peeling Corner control, Bar Code control or menu option (defined in the editor or through programming), in the page editor.
  • a link in the report editor.
Example
LIEN_LIEN1.URL = "http://www.pcsoft.fr"
Syntax

Getting the address associated with a control Hide the details

<Result> = <Control used>.URL
<Result>: Character string
Address associated with the control.
<Control used>: Control name
Name of control to use:
  • Window field: HTML Display control field.
  • Page control: Link, Button, Image, iFrame, Peeling Corner control, Barcode or menu option.
  • Report field: Link.

Changing the address associated with a link Hide the details

<Control used>.URL = <New address>
<Control used>: Control name
Name of control to use:
  • Window field: HTML Display control field.
  • Page control: Link, Button, Image, iFrame, Peeling Corner control, Barcode or menu option.
  • Report field: Link.
<New address>: Any type
New address associated with the link. This address must contain "http://".
Remarks
WEBDEV - Server codeWEBDEV - Browser codePHPAjax

URL property and Value property

The URL property has the same effect as the Value property on Button, Link and iFrame controls.

Limits

WEBDEV - Server codeWEBDEV - Browser code The URL property is only available for:
  • Link controls in a page.
  • Button controls in a page.
  • Clickable Image controls in a page.
  • iFrame controls in a page.
  • menu options in a page.
  • Peeling Corner controls in a page.
  • Bar Code controls in a page.
  • WEBDEV - Server code the Link controls in a report.
PHP The URL property can only be used on:
  • Link controls in a page.
  • Image controls in a page.
  • Clickable Image controls in a page.
  • links in a Breadcrumb control.
  • Peeling Corner controls in a page.
  • Captcha controls in a page.
  • menu options in a page.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/14/2024

Send a report | Local help