event...ID,source,data,Extra...confusement

BlitzMax Forums/BlitzMax Beginners Area/event...ID,source,data,Extra...confusement

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.

Hi!

I am having troubles understanding the difference between eventSource, eventId, EventData and EventExtra.

What I am currently doing is using WaitEvent and then Case EVENT_GADGETSELECT to capture events for my treeview in the application.
But, then I'd like to get the object returned that represents a node in this tree.
This way, I can add another treenode with as parent the object I got returned.

Could someone explain how I can achieve this, and why some examples use eventID's instead of sources? I am confused.