Profile Picture

How to utlize the recognize URL function of the NRichTextbox

Posted By Gary Smith 14 Years Ago

How to utlize the recognize URL function of the NRichTextbox

Author
Message
Gary Smith
Posted 14 Years Ago
View Quick Profile
Forum Member

Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 39, Visits: 1

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

 



Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

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.



Gary Smith
Posted 14 Years Ago
View Quick Profile
Forum Member

Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)Forum Member (39 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 39, Visits: 1

Works as designed   Thanks Angel.

Gary

 





Similar Topics


Reading This Topic