Drag/Drop operations
I am trying to setup a window so that it will accept a drag&drop item, I have figured out how to see when it happens, but cant figure out how to get the item that was dropped, I really dont want to use a quickslot for this (could cause issues latter)
So far I have : Quote:
Anyone know how to collect the dropped item? |
DragDrop does not fire for quicklsots - not so sure about windows. Maybe bugged?
|
I tried to get the parent thinking maybe the item caused the drag and drop but not go, doesnt even have the "GetParent" method.
Anyone have any other ideas? is this one of those things that they put in but havent implamented yet? I would really like to get the drag and drop thing to work... :confused: |
I have a custom button that accepts drag drop items. I get the item using:
newItem = args.DragDropInfo:GetShortcut():GetItem(); |
Okay, thank you! will look more into that direction, but one problem I found is that when I collect the Item my "args" always ends up nil, are you using something other then the 'DragDrop(sender, args)' ?
EDIT: and when I get DragDropInfo from the sender the GetShortcut() always comes back with just __Implementation, and GetItem() gets nil... so confused, wish the api documentation was more then a "this is the methods we have, you figure out how they go" |
All times are GMT -5. The time now is 11:55 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI