通过向另一个组合框输入值来启用组合框 [英] enable a combobox by entering values to another combobox

查看:63
本文介绍了通过向另一个组合框输入值来启用组合框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最初将combobox的visible属性设置为false

那么如何通过选择
中的项目来启用"combobox2"以使其可见
"combobox1"

i had initally set the combobox visible property as false

then how can i enable the "combobox2" to make visible by selecting the item in the

"combobox1"

推荐答案

尝试以下代码:
Try this code :
Private Sub ComboBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.TextChanged
        ComboBox2.Visible = True
End Sub


希望对您有帮助. :)


I hope it will help you. :)


这篇关于通过向另一个组合框输入值来启用组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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