3个组合框 [英] 3 Comboboxes

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

问题描述




如果选择另一个组合框,我如何隐藏或禁用一个组合框?


所有帮助将不胜感激


谢谢

Hi,

How can i hide or disable one combobox when another combobox is selected?

All help will be appreciated

thanks

推荐答案

您可以在每个组合框上执行if循环或大小写选择以禁用其他组合框在第一个选择时。
You can just do an if loop or a case select on each of the combo boxes to disable the other ones when selected on the first.
展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号



你可以做一个if loop或case在每个组合框上选择以禁用其他组合框在第一个选择。
You can just do an if loop or a case select on each of the combo boxes to disable the other ones when selected on the first.
展开 | 选择 | Wrap | 行号


如果你想改变它,也许你应该改变锁定状态而不是启用状态?如果这是你想要做的话。


请试试这个。
If you want to be able to change it perhaps you should change the locked status and not the enable status? If this is what you want to do then.

Else try this.
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号


这篇关于3个组合框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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