可以使用带有TextBox编辑功能的ComboBox吗? [英] Possible to have a ComboBox with TextBox edit capabilities?

查看:65
本文介绍了可以使用带有TextBox编辑功能的ComboBox吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使ComboBox的文本框部分(在DropDown

样式中)表现得像TextBox?


我的意思是它允许用户通过鼠标光标选择一部分文字,然后更换高亮的

部分?


谢谢。

Is it possible to make the text box portion of a ComboBox (in DropDown
style) behave like a TextBox?

By that I mean can it allow the user to select a portion of text by
hilighting it with the mouse cursor and replacing the hilighted
portion?

Thanks.

推荐答案

是的,您可以默认执行此操作

AnAnimal <安****** @ somewhere.net>在留言中写道

新闻:3s ******************************** @ 4ax.com ...
Yes, you can do this by default
"AnAnimal" <An******@somewhere.net> wrote in message
news:3s********************************@4ax.com...
是否可以使ComboBox的文本框部分(以DropDown
样式)表现得像TextBox?

我的意思是它允许用户通过用鼠标光标高亮显示文本的一部分来替换高亮的
部分?

谢谢。
Is it possible to make the text box portion of a ComboBox (in DropDown
style) behave like a TextBox?

By that I mean can it allow the user to select a portion of text by
hilighting it with the mouse cursor and replacing the hilighted
portion?

Thanks.



你好,


" AnAnimal" <安****** @ somewhere.net> schrieb:
Hello,

"AnAnimal" <An******@somewhere.net> schrieb:
我可以用鼠标定位光标,然后用Shift + LeftArrow
或Shift + RightArrow选择文字,但不能通过点击鼠标左键选择它并移动光标?
I can position the cursor with the mouse and then use Shift+LeftArrow
or Shift+RightArrow to select the text but cannot select it by
clicking the left mouse button and moving the cursor?




这是ComboBox控件中的一个错误。


-

Herfried K. Wagner

MVP·VB Classic,VB.NET
http://www.mvps.org/dotnet


是否有修复或解决方法?


2003年9月17日星期三23:39:40 +0200,Herfried K. Wagner [MVP]"

< hi ******* @ m.activevb.de>写道:
Is there a fix or a work around?

On Wed, 17 Sep 2003 23:39:40 +0200, "Herfried K. Wagner [MVP]"
<hi*******@m.activevb.de> wrote:
你好,

AnAnimal <安****** @ somewhere.net> schrieb:
Hello,

"AnAnimal" <An******@somewhere.net> schrieb:
我可以用鼠标定位光标,然后用Shift + LeftArrow
或Shift + RightArrow选择文字,但不能通过点击鼠标左键选择它并移动光标?
I can position the cursor with the mouse and then use Shift+LeftArrow
or Shift+RightArrow to select the text but cannot select it by
clicking the left mouse button and moving the cursor?



这是ComboBox控件中的一个错误。



That''s a bug in the ComboBox control.






这篇关于可以使用带有TextBox编辑功能的ComboBox吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆