单选按钮用户设置 [英] radio button user settings

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

问题描述

我在使用单选按钮正确使用my.settings

时遇到问题。我希望程序检查上次保存哪一个使用

启动时。我最接近的是我需要点击单选按钮

两次才能正确保存。

任何关于使用什么的想法?我认为代码应该相当简单,但是由于某些原因我错过了它。

I am having problems on getting the radio button to work with my.settings
correctly. I want the program to check to see which one was last saved to use
at startup. The closest I have come is that I need to click the radio button
twice for it to be saved correctly.
Any idea on what to use? I think the code should be fairly simple but I am
missing it for some reason.

推荐答案



" Scuba Rob" <钪****** @ discussions.microsoft.com>在留言中写道

新闻:6F ********************************** @ microsof t.com ...

"Scuba Rob" <Sc******@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
我在使用单选按钮正确处理my.settings时遇到问题。我希望程序检查上次保存哪一个
在启动时使用
。我最接近的是我需要点击两次收音机
按钮才能正确保存。
I am having problems on getting the radio button to work with my.settings
correctly. I want the program to check to see which one was last saved to
use
at startup. The closest I have come is that I need to click the radio
button
twice for it to be saved correctly.




嗯?你需要设置一个标志并坚持重复使用它。



Huh? You''d need to set a flag and persist that to reuse it.





" Homer J Simpson写道:


"Homer J Simpson" wrote:

Scuba Rob <钪****** @ discussions.microsoft.com>在消息中写道
新闻:6F ********************************** @ microsof t.com。 ..

"Scuba Rob" <Sc******@discussions.microsoft.com> wrote in message
news:6F**********************************@microsof t.com...
我在使用单选按钮正确使用my.settings时遇到问题。我希望程序检查上次保存哪一个
在启动时使用
。我最接近的是我需要点击两次收音机
按钮才能正确保存。
I am having problems on getting the radio button to work with my.settings
correctly. I want the program to check to see which one was last saved to
use
at startup. The closest I have come is that I need to click the radio
button
twice for it to be saved correctly.



嗯?你需要设置一个标志并坚持使用它。

我点击其他单选按钮后保存新设置。单击一下单选按钮后,labels.text会像预期的那样更新,但单选按钮都不会显示为已选中。第二次单击将显示所选的单选按钮,然后下一次启动将正确显示为正确。



Huh? You''d need to set a flag and persist that to reuse it.

I save the new settings after clicking the other radio button. After clicking the radio button once the labels.text would update like it is supposed to but neither radio button would show as being selected. The second click would show the selected radio button andupon the next startup would correctly show as being correct.



这是否更有意义?如果你想看,我会发布代码。


Does this make any more sense? I''ll post the code if you wish to see it.




" Scuba Rob" <钪****** @ discussions.microsoft.com>在留言中写道

news:47 ********************************** @ microsof t.com ...

"Scuba Rob" <Sc******@discussions.microsoft.com> wrote in message
news:47**********************************@microsof t.com...
点击其他单选按钮后保存新设置。
点击单选按钮后,一旦labels.text将更新,就像它应该更新,但是单选按钮都不会显示为被选中。第二次单击将显示所选的单选按钮,并在下次启动时正确显示为正确。
这是否更有意义?如果你想看,我会发布代码。
I save the new settings after clicking the other radio button. After
clicking the radio button once the labels.text would update like it is
supposed to but neither radio button would show as being selected. The
second click would show the selected radio button and upon the next
startup would correctly show as being correct.
Does this make any more sense? I''ll post the code if you wish to see it.




看起来设置单选按钮有问题

案例。尝试使用单选按钮创建一个新的解决方案,看看他们是否工作正常。



Looks like there is something wrong with the radio button setup in that
case. Try creating a new solution with just the radio buttons and see if
they work OK.


这篇关于单选按钮用户设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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