如何设置groupbox readonly [英] How to set groupbox readonly

查看:64
本文介绍了如何设置groupbox readonly的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys我的问题是我有组合框和20个按钮在这里我想禁用所有这一切我的意思是readonly请告诉我我该怎么做



谢谢



我尝试了什么:



groupbox1。 enabled = false; groupbox1.readonly = true;

Hello Guys my question is i have group box and 20 buttons in this and i want to disable all of this i mean on readonly please tell me how can i do this

Thanks

What I have tried:

groupbox1.enabled = false; groupbox1.readonly = true;

推荐答案

GroupBox doesnot have readonly property.So you need to set the ReadOnly property of each individual TextBox and other control to true. Button,comboBox,radioButton doesn't have readonly property. Kindly elaborate what you exactly need.
If you are satisfied mark this as solution.


这篇关于如何设置groupbox readonly的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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