开发者

RichTextBox control, making non-URLs hyperlinks?

开发者 https://www.devze.com 2022-12-08 08:32 出处:网络
In a richtextbox I see there\'s DetectURLs and an event to go along with that... Is there a way to set up a word or series of words to act as a hyperlink even though they are not a hyperlink? My spec

In a richtextbox I see there's DetectURLs and an event to go along with that...

Is there a way to set up a word or series of words to act as a hyperlink even though they are not a hyperlink? My specific use is that I'm writing a ticker program that will scroll information across the bottom of the screen, I would like for some information to be clickable without putti开发者_JS百科ng the long, messy URL of the target. Anyway I can do this?


Links with arbitrary text in a RichTextBox
http://www.codeproject.com/Articles/9196/Links-with-arbitrary-text-in-a-RichTextBox

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号