I’ve done this in a number of ways, and I always think I’m missing something obvious.
If I have a listbox with rows that reference objects. Let’s say I put them in the row tag.
I want to be able to drag these to another window (list or just the window) and get the object on the other end.
Since a drag item can’t contain an object what I’ve done in the past is to create a reference to what is being dragged, like in my own private clipboard array, and on drop, I try to cross reference the items from text in the drag, or simply from the fact that something was dragged to assume all my private clipboard is that object.
Is there a better way? Something more standard?
I’d love it if I could just pop a variant into a drag item.