Re: Win32LIb: setCheck anomaly?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Dan Moyer wrote:
> 
> Using Win32Lib 0.60.6, when I use setCheck on one radio control in a group of
> radios,
> it does NOT clear any other radio that might be checked. 
> 
> So if a radio in the group is checked, and the program sets another one
> with setCheck, I end up with TWO radios in the same group checked.
> 
> It does set the specified radio, and user manually clicking on any radio
> will reset any other that's checked.  And of course I can & now did 
> programmatically reset all radios before setChecking any, but it was an
> unexpected behaviour.
> 
> Dan Moyer

Well setCheck() just sets the checked state, so the behaviour is not 
unexpected, just annoying.
What could be missing in the lib is a defineButtonRadioGroup() akin to 
defineMenuRadioGroup(). And setCheck() would have to care for them as it 
currently does for menu radio groups.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu