[Gambas-user] RadioButton events (1.9.46a) & simplified

Richard richard.j.walker at ...247...
Wed Jan 31 20:25:36 CET 2007


On Wednesday 31 Jan 2007 06:52, Stefano Palmeri wrote:
>
> Hello. I modified your example to make it work. It seems you have to use
> only the TRUE value. I'm on Gambas 1.9.47
> Bye,
>
> Stefano

On Wednesday 31 Jan 2007 17:12, Benoit Minisini wrote:
>
> The RadioButton Click event is only raised when its value is set to TRUE.
> You get no events when it is set to FALSE.
>
> Regards

Thank you both very much for setting me straight. Stefano, I'd love to know 
how you knew to change a RadioButton value by setting the value of another 
RadioButton. I stared at it for hours without guessing that approach.

Benoit, are there any other controls which can only be assigned a TRUE value 
while a program is running? I tried last night to use a pair of ToggleButtons 
in my program instead of four RadioButtons and got some results I didn't 
expect. I was going to explore that problem tonight but now I know I can use 
RadioButtons (with a lot more code to sort out which ones need to be set to 
TRUE) I will leave the Toggle Button until I have more time.

Regards, and again, many thanks,

Richard




More information about the User mailing list