Highlighting URLs

General TRichView support forum. Please post your questions here
Post Reply
gavin310
Posts: 7
Joined: Wed Jan 10, 2007 5:52 am

Highlighting URLs

Post by gavin310 »

Hi, I'm a registered user of TRichView but I can't find how to log into the member's area. Or maybe this is it? Anyways...

I just need URLs to auto-highlight in my RichViewEdit and also click to the website. I looked at the example in "Demos\Delphi\Assorted\Hypertext\URLs" and implemented the code into my application, but the "url" variable when you click a URL only contains the first letter of the URL. I've compared the settings of my RVE and the demo RVE side-by-side and they are the same. I can't figure out how to get this working. Please help ASAP!

Thanks,
Gavin
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

There is a bug in URLScan.pas in this demo: for Unicode text items, it assigns Unicode strings to tags.
The fixed version is here:
http://www.trichview.com/support/files/urlscan.zip
Post Reply