开发者

detect selected text

I m developing winform application with C#.Net.

alt text http://img688.imageshack.us/img688/566/97354114.jpg

How can re开发者_运维百科ach selected text with mouse? Text area is Label Control.


Your question is not very clear, but assuming that the text area is a RichTextBox control, just use the SelectedText property. You can use the SelectionStart and SelectionLength properties as well if needed.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜