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

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to