Event Proccessing Questions

BlitzMax Forums/BlitzMax Programming/Event Proccessing Questions

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, 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.