将组合框更改为文本框 [英] Changing combo box to text box
本文介绍了将组合框更改为文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
展开 | 选择 | Wrap | 行号
解决方案
展开 | 选择 | Wrap | 行号
唯一可以以编程方式更改任何控件类型的时间是您处于父容器的设计模式。
我可以在代码中执行此操作吗?
编辑:顺便说一遍我的脑袋!
注意到另一点;
第一个如果...在其他...声明不起作用。如果有效,我可以将其更改为文本框吗?
Expand|Select|Wrap|Line Numbers解决方案Expand|Select|Wrap|Line Numbers
The only time you can programmatically change the type of any Control is when you are in Design Mode for the Parent Container.can I do that in code?
edit: by the way that went straight over my head!
Noticed another point;
The first If... in the Else... statement won''t work. If that worked would I be able to change it to a text box?
这篇关于将组合框更改为文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文登录 关闭
扫码关注1秒登录发送“验证码”获取 | 15天全站免登陆