ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Various properties
  • URL property and Value property
  • Limits
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 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
LINK_LINK1.URL = "http://www.windev.com"
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:
  • Control in a window: HTML Display control.
  • Control in a page: Link, Button, Image, iFrame, Peeling corner, Bar code or menu option.
  • Report control: 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:
  • Control in a window: HTML Display control.
  • Control in a page: Link, Button, Image, iFrame, Peeling corner, Bar code or menu option.
  • Report control: 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: 03/08/2023

Send a report | Local help