Nevron Forum

How to utlize the recognize URL function of the NRichTextbox

https://www.nevron.com/Forum/Topic2874.aspx

By Gary Smith - Wednesday, January 6, 2010

This is a great feature in that it recognizes a URL in the text. How can I go about allowing the individual to open that link in the default browser?

Thanks

 

By Angel Chorbadzhiev - Thursday, January 7, 2010

Hi Gary,

NRichTextBox control inherits this functionality from RichTextBox (NRichTextBox derives from RichTextBox control).

Basically all you need is to attach to LinkClicked event.

For more info please, take a look in MSDN documentation at the following page:

http://msdn.microsoft.com/en-us/library/system.windows.forms.richtextbox.linkclicked.aspx

Regards,

Angel.

By Gary Smith - Thursday, January 7, 2010

Works as designed   Thanks Angel.

Gary