PDA

View Full Version : RTF-Object: Auto-detect URLs not working?


SonG0han
01-24-2008, 11:41 AM
Hello. I enabled auto-detect URLs and they are colored as link but if I click on them nothing happens. Do they work for everyone else? :huh
And e-mails are not converted to mailto: links.


I use WinXP SP2 with Bootcamp on my iMac.

(btw: is it possible to change the link colors?)

Darryl
01-25-2008, 10:14 AM
Hi SonG0han,

From the docs:
"Automatically detect URLs in the object text. This means URLs will be shown as hyperlinks and will fire the RichText object's On Link event when they are clicked on."

What you need to do is add code to do what you want from the link. It basically just fires the event, so you would need to add the required action from there.

As for the color of the links, no I'm sorry, it is not possible to change that color.

SonG0han
01-26-2008, 04:32 AM
:wow
I have to take a closer look at the manual... sorry. :o
Thank you for the quick response.

I hope it will be possible to change the link colors in the future. It's hard to read sometimes (blue link on blue backgrounds).

And it would be great if you could add support for email links (name@domain.com). :)

Darryl
01-29-2008, 10:25 AM
Thanks for the suggestions. REF: 17169.

If you weren't aware, you can currently use mailto:name@domain.com to fire the event as well.