robertb_NZ
Well-known member
I put a Groupbox containing four RadioButtons. Everything worked perfectly, except that the settings were not retained from one execution to another.
I defined settings in My.Settings, one for each RB, type Boolean, and set the RB's ApplicationBinding/PropertySetting to these. Thus the first RB is bound to JobNameRule1, the second to JobNameRule2, and so on.
Now when I run the program (with the debugger) I have to click the RB twice. For example, suppose the first is checked and click the third. This turns off the first's check, but leaves them all unchecked. Now I must check the third RB again before it shows as checked. But at least the status is remembered properly from one session to the next.
Is there a property that I need to set to get the previous behavior? Or am I taking the wrong approach?
Thank you, Robert.
I defined settings in My.Settings, one for each RB, type Boolean, and set the RB's ApplicationBinding/PropertySetting to these. Thus the first RB is bound to JobNameRule1, the second to JobNameRule2, and so on.
Now when I run the program (with the debugger) I have to click the RB twice. For example, suppose the first is checked and click the third. This turns off the first's check, but leaves them all unchecked. Now I must check the third RB again before it shows as checked. But at least the status is remembered properly from one session to the next.
Is there a property that I need to set to get the previous behavior? Or am I taking the wrong approach?
Thank you, Robert.