textBox问题 [英] textBox problem
本文介绍了textBox问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在文字处理器中从RichTextBox降级为TextBox,但是textBox没有SelectionChanged事件,我需要它.
我使用选择更改事件来更新当前行和列在我的状态栏中
Im want to downgrade from RichTextBox to TextBox in my word processor but the textBox dosen't have a SelectionChanged event and I need it.
I use the selection changed event to update current line and column in my status bar
推荐答案
没有与之相对应的TextBox.您可以处理键盘,鼠标和焦点事件,但是可以更新行/列信息.
There is no equivalent for TextBox. You could handle keyboard, mouse and focus events and update the line/column info though.
这篇关于textBox问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文