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.
  • Overview
  • Finding out and modifying the caption (server code)
  • Retrieving and modifying the URL of the link (for a "mailto" link in server code)
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
Handling a Link control by programming (Page)
Overview
WEBDEV allows you to handle a Link control by programming. To do so, use the variable of the Link control in the code.
The variable of the Link control corresponds to name of the control. A Link control is always a Text control.
Finding out and modifying the caption (server code)
To handle the caption of a Link control, all you have to do is use Libellé.
For example, the following code line modifies the caption of the LINK_Email control:
LINK_Email.Caption = "Write to me directly"
Remark: If the option "..Value represents the link URL" is unchecked ("Details" tab of link description), the link caption can also be returned by Value.
Retrieving and modifying the URL of the link (for a "mailto" link in server code)
To handle the URL of a "MailTo" type Link control, simply use the URL property.
For example, the following code line modifies the email address of the LINK_Email control:
LINK_Email.URL = "address@laposte.net"
Remark: If "..Value represents the URL of the link" is checked ("Details" tab of the link description), the URL of the link can also be returned by Value.
See also
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment