如何将我的光标移动到我的ComboBox中的左边? [英] How to move my cursor to the left in in my ComboBox?
本文介绍了如何将我的光标移动到我的ComboBox中的左边?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将光标移动到 ComboBox
中的文本开头。
现在的样子:
我在关闭活动
上尝试了以下活动:
cboSomeCombo.Select(cboSomeCombo.Text.Length,0);
光标仍然停留在右边。
解决方案
这似乎是相关的:
如何设置选择的组合框左对齐的文本
I would like to move my cursor to the start of the text in my ComboBox
.
This is what it looks like at the moment:
I did try the following on the Closed Event
:
cboSomeCombo.Select(cboSomeCombo.Text.Length, 0);
The cursor still stays all the way to the right.
解决方案
This seems to be related:
How to set the selected text of combobox align left
这篇关于如何将我的光标移动到我的ComboBox中的左边?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文