[Gambas-user] Toggle Button values
Rolf-Werner Eilert
eilert-sprachen at ...221...
Wed May 5 17:32:23 CEST 2010
Hi all,
In Gambas 2 I used some ToggleButtons and found it difficult to make out
what are the correct values to be set/returned.
It turned out that only 0 for "not pressed" is reliable. I can set TRUE
and FALSE to switch it on/off from code, but it will not return these
but 1/0. I cannot set 1, however, so I got somewhat confused :-)
There is no indication in the documentation yet. So, how is it supposed
to be used?
Regards
Rolf
More information about the User
mailing list