Page 2 of 2

Re: Checkbox+Option gadgets dont mention any EventTypes

Posted: Mon Sep 14, 2015 6:21 pm
by freak
Gadgets that only have a single type of event return 0 from EventType() and are not mentioned on the EventType() page. Just like the ButtonGadget() which has only the "pressed" event.

Both checkbox and option gadget work this way. They fire an event when the user interacts with them, but EventType() returns 0 because this is the only event for the gadget.

Re: Checkbox+Option gadgets dont mention any EventTypes

Posted: Mon Sep 14, 2015 6:29 pm
by Demivec
Thanks for that information freak. It would be nice to have this in the manual also.