1. checking radio buttons in a group works differently programatically

When the user checks a radio in a group of radios it correctly unchecks the
previous one.

However, when I program: 
setCheck(control,w32True) -- control is one of many in a group

it checks this one and leaves the previous one also checked. This is not what I
want to happen. Do you have to uncheck them all programatically beforehand, or is
there something more elegant to do?

Andy Katz
B.S. Computer Science, 1978
Rensselaer Polytechnic Institute (RPI)

new topic     » topic index » view message » categorize

2. Re: checking radio buttons in a group works differently programatically

Andrew Katz wrote:
> 
> When the user checks a radio in a group of radios it correctly unchecks the
> previous one.
> 
> However, when I program: 
> }}}
<eucode>
> setCheck(control,w32True) -- control is one of many in a group
> </eucode>
{{{

> it checks this one and leaves the previous one also checked. This is not what
> I want to happen. Do you have to uncheck them all programatically beforehand,
> or is there something more elegant to do?
> 
> Andy Katz
> B.S. Computer Science, 1978
> Rensselaer Polytechnic Institute (RPI)


It would be nice if defineMenuRadioGroup ( sequence ids) worked in this case.

B.S. Computer Science, 1978
Rensselaer Polytechnic Institute (RPI)

new topic     » goto parent     » topic index » view message » categorize

3. Re: checking radio buttons in a group works differently programatically

Andrew Katz wrote:
> 
> Andrew Katz wrote:
> > 
> > When the user checks a radio in a group of radios it correctly unchecks the
> > previous one.
> > 
> > However, when I program: 
> > }}}
<eucode>
> > setCheck(control,w32True) -- control is one of many in a group
> > </eucode>
{{{

> > it checks this one and leaves the previous one also checked. This is not
> > what
> > I want to happen. Do you have to uncheck them all programatically
> > beforehand,
> > or is there something more elegant to do?
> > 
> > Andy Katz
> > B.S. Computer Science, 1978
> > Rensselaer Polytechnic Institute (RPI)
> 
> 
> It would be nice if defineMenuRadioGroup ( sequence ids) worked in this case.
> 
> B.S. Computer Science, 1978
> Rensselaer Polytechnic Institute (RPI)

This bug has been reported last month. Search the EuForum archive for
 setCheck in feb 2007.... Derek is working on it (or was, or is suposed to,
 or....)

CChris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu