Embedding Hyperlinks
Visual FoxPro editors support embedding and activating hyperlinks. When you include a valid hyperlink, Visual FoxPro applies hyperlink attributes to the hyperlink text.
If hyperlinks are activated in the Options Dialog Box or by setting the EditorOptions property, a hyperlink will be displayed in your editor with the typical underline visual cue of a hyperlink in HTML. The hyperlink termination character is a space, so if you have spaces in your path you must replace them with %20. For example, https://servername/program files/my folder must be written https://servername/program%20files/my%20folder.
By default, you need to CTRL + click to follow a link. The EditorOptions property lets you change the default so that simple clicking will follow the link. The following table describes the valid protocols.
Protocol |
Trigger(s) |
Syntax |
---|---|---|
File |
File:/ |
file:///cDrive/cPathcFile file:////cUNCPath |
FTP |
FTP:/ |
ftp://[cUserName[:cPassword@]]cDomain |
Gopher |
Gopher:/ |
gopher ://cDomain |
HTTP |
HTTP:/, www.<char> |
http ://cDomain |
HTTPS |
HTTP:/ |
https ://cDomain |
MailTo |
MailTo: |
mailto:cAddress[;cMoreAddresses][&cSubject] [&cBody] [&cCC][&cBCC] |
News |
News: |
news:cNewsGroup |
Telnet |
Telnet:/ |
telnet://cDomain[:iPort] |