如何取消选中/检查RadioButton [英] How to uncheck/check a RadioButton

查看:210
本文介绍了如何取消选中/检查RadioButton的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我有一些radiobuttons,我想让用户能够通过点击它来取消选中一个单选按钮,同时检查它。 当用户决定他不想要任何一个选项时,应该允许再次点击RadioButton到
null他的决定。在我的情况下,我需要使用RadioButton而不是CheckBox。

I have some of radiobuttons and I would like to give a user ability to uncheck a radiobutton through a click on it, while it's checked. When the user decides that he does not want either option and should be allowed to click on RadioButton again to null his decision. In my case I need to use RadioButton not CheckBox.

如何制作我想表示真值和假值的单选按钮?

How to make radio button that I want to represent both true and false value?

谢谢。

推荐答案

你好zleug,



我不确定我能理解你的情况,你想做什么。

如果你想要只切换一个条件(状态)的ON / OFF(真/假),请使用CheckBox而不是RadioButton。

我们只能在同一组中生成一个RadioButton True。 (抱歉我的英语不好)
$


Coud你通过云存储如OneDrive,Dropbox等分享ListView(或表格)的图像。 它将帮助我了解您的情况。 
$
问候,
Hi zleug,

I'm not sure I can understand your situation, what you want to do.
If you want to switch ON/OFF (True/False) of only one condition (status), please use CheckBox, instead of RadioButton.
We can make only one RadioButton True in the same group. (sorry for my poor English)

Coud you share an image of the ListView (or Form) via cloud storage such as OneDrive, Dropbox, etc.?  It will help me to understand your situation. 
Regards,


这篇关于如何取消选中/检查RadioButton的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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