Event Proccessing Questions

BlitzMax Forums/BlitzMax Programming/Event Proccessing Questions

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I have the feeling you've been bitten by the automatic int -> object conversion, and that the fact that the EventData() -> TGadget yielded a valid tgadget is puerly coincidence. Needless to say this isn't reliable.
I have barely started to toy with MaxGui, but I think the source gadget can be retrieved from the 'source' field of the event object.