How can I put a hyperlink in a text field? Is it possible?
Thanks.
Hyperlink on field text
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Livecode Opensource Backer
Re: Hyperlink on field text
Simply select the text you want to make into a link, then go to the top menu > Text > Link. Alternatively, edit set the htmltext of the field to something that contains a <a>http://mywebsite.com/</a> part.lbtony wrote:How can I put a hyperlink in a text field? Is it possible?
To have the browser go to a webpage when the user press that link, create a handler
Code: Select all
on linkclicked pText
revGoURL pText
end linkclicked
Code: Select all
on linkclicked pText
switch pText
case "myWebsite"
put "http://www.mywebsite.com/" into tURL
break
case "google"
put "http://www.google.com/" into tURL
break
default
-- the link doesn't correspond to any predifined label.
-- either put pText into tURL, either issue a debug message to
-- the programmer
end switch
revGoURL tURL
end linkclicked
Re: Hyperlink on field text
What is the difference between hypertext and hyperlink? I know hyperlink is a link that takes you to another link. So tell me if this is right. Hyperlinks are a form of hypertext?
________________________________
market samurai ~ marketsamurai
________________________________
market samurai ~ marketsamurai