RichTextBox - color of visited hyperlinks
am 06.01.2008 19:23:01 von RogerIn 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