trichview.com

trichview.support.examples




Re: Detecting URLs on typing


Return to index


Author

Message

Sergey Tkachenko

Posted: 08/28/2004 21:19:48


Updated info:

* this code (improved) is now included in RichViewActions, method of TrvActionInsertHyperlink,

so if you use RichViewActions, you do not need to copy this code;

* this code (improved) is included in demo Demos\*\Assorted\Hypertext\URLs\;


>This code autodetects URLs in text.

>When the user types space or Enter character, the code checks if the caret

>is at the end of URL. If yes, it makes a hyperlink of it and set its tag.





Powered by ABC Amber Outlook Express Converter