event...ID,source,data,Extra...confusement
BlitzMax Forums/BlitzMax Beginners Area/event...ID,source,data,Extra...confusement
| ||
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. |
| ||
You have to assign an Object to the TGadget.Context to get the Object in Runtime. I hope the Example shows you how to do it. |
| ||
Thank you Klepto2! I will study it! |