开发者

Make Groupbox's controls readonly when is radiobutton clicked in vb.net

开发者 https://www.devze.com 2023-01-08 23:03 出处:网络
I have many textbox inside a group box so when radio button is clicked i want to make these controls readonly. Is it possible,and again on another radio button click again i wa开发者_运维知识库nt to m

I have many textbox inside a group box so when radio button is clicked i want to make these controls readonly. Is it possible,and again on another radio button click again i wa开发者_运维知识库nt to make readonly false in vb.net.


In the onclick event for your radio button add code that sets your groupbox.IsEnabled to false. That should make the control readonly.

0

精彩评论

暂无评论...
验证码 换一张
取 消