PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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:
  • Versions 26 and later
    WINDEVWindowsiPhone/iPadIOS Widget an HTML Display control, in the window editor.
    New in version 26
    WINDEVWindowsiPhone/iPadIOS Widget an HTML Display control, in the window editor.
    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.
Versions 18 and later
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
iPhone/iPad This property is now available for reports in iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available for reports in the applications in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available for reports in the applications in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available for reports in the applications in Universal Windows 10 App mode.
Versions 23 and later
WEBDEV - Browser code This property is now available in browser code.
New in version 23
WEBDEV - Browser code This property is now available in browser code.
WEBDEV - Browser code This property is now available in browser code.
Versions 26 and later
WINDEVWindowsiPhone/iPadIOS Widget This property is now available for HTML Display controls.
New in version 26
WINDEVWindowsiPhone/iPadIOS Widget This property is now available for HTML Display controls.
WINDEVWindowsiPhone/iPadIOS Widget This property is now available for HTML Display controls.
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:
  • Versions 26 and later
    Control in a window: HTML Display control.
    New in version 26
    Control in a window: HTML Display control.
    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:
  • Versions 26 and later
    Control in a window: HTML Display control.
    New in version 26
    Control in a window: HTML Display control.
    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