Page 1 of 1

Hypertext with TRichView

Posted: Fri Aug 17, 2012 11:51 am
by MickT
Hi Sergey,

I am using TRichView. I create a new style then add the text using the styles index. What I wish to do is auto detect the URL's within this line.

Do I need to manually go through the newly added text and find hypertext and then create a new style for the hypertext, or is there an easier way that will automatically detect URL's?

I did peruse the demos but only noticed TRichViewEdit examples. The Phonebook example did not really explain clearly to me.

Thanks,
MickT.

Posted: Fri Aug 17, 2012 3:01 pm
by Sergey Tkachenko
The simple URL detection can be found in Demos\*\MultiDemo\, "Chat" subdemo.

More advanced version: http://www.trichview.com/forums/viewtopic.php?t=63

Posted: Fri Aug 17, 2012 9:30 pm
by MickT
Thx bud.