[Seen]Checkbox+Option gadgets dont mention any EventTypes

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

freak
PureBasic Team
PureBasic Team
Posts: 5929
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Re: Checkbox+Option gadgets dont mention any EventTypes

Post 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.
quidquid Latine dictum sit altum videtur
User avatar
Demivec
Addict
Addict
Posts: 4091
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: Checkbox+Option gadgets dont mention any EventTypes

Post by Demivec »

Thanks for that information freak. It would be nice to have this in the manual also.
Post Reply