【发布时间】:2022-01-14 19:08:26
【问题描述】:
我正在尝试制作一个使用文本框的程序,其中列出了可以单击的文本选项。
作为文本框示例:
[选择:]
因此用户可以例如单击(在文本上)<2> 以选择第二个选项或<3> 因此选择第三个选项。这个想法来自使用类似系统的AutoCAD 命令提示符。
我如何在 vb.net 代码中实现这样的功能(如果可能的话)?
【问题讨论】:
-
How to color different words with different colors in a RichTextBox while a user is writing and raise an event when that colored text is clicked -- 你只需要鼠标点击处理部分(第一个和最后一个sn-p + 类对象)。
-
要重现 LinkLabel 已经可以做的事情需要大量的工作......
标签: string vb.net textbox mouseover