RichTextBox - color of visited hyperlinks

RichTextBox - color of visited hyperlinks

am 06.01.2008 19:23:01 von Roger

In my app I would like to change the color of the hyperlink from blue to
purple when a user clicks the hyperlink in a RichTextBox.
The DetectUrls property is set to True and I handle the
RichTextBox1.LinkClicked event to launch a browser window. That works fine.

The problem is that once the DetectUrls property is True the RichTextBox
control shows the link in blue even if I select the text and change the
SelectionColor to purple.
For example, I can change the font style of a visited link to say bold or
italic but I cannot change the color of a visited link.
I can change the hyperlink color to purple if DetectUrls is False but then I
cannot visit any other links in the RichTextBox text.

Has anyone else experienced this problem?
Is there an answer??

Thanks in advance

Roger
VS2005 , vb.net
--
Roger

Re: RichTextBox - color of visited hyperlinks

am 06.01.2008 19:37:20 von notmyfirstname

Roger,

Will you try to avoid multiposting, it is without sense to answer these
questions because you never know has given a better answer before you. So
the answers will always short or like this one.

Cor