RichTextBox控件,使得非网址链接? [英] RichTextBox control, making non-URLs hyperlinks?
问题描述
在一个RichTextBox我看到有DetectURLs和事件一起去了......
In a richtextbox I see there's DetectURLs and an event to go along with that...
有没有一种方法来设置的话一个字或一系列作为,即使他们不是超链接的超链接?我的具体使用方法是,我正在写一个股票计划,将在屏幕下方滚动的信息,我想对某些信息可以点击没有把目标的长,凌乱的URL。无论如何,我可以做到这一点?
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 putting the long, messy URL of the target. Anyway I can do this?
推荐答案
链接与任意文本在一个RichTextBox
的http://www.$c$cproject.com/Articles/9196/Links-with-arbitrary-text-in-a-RichTextBox
这篇关于RichTextBox控件,使得非网址链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!