Drag an item to my frame
So I found this older post giving an example of how to drag a spell/item to a frame. However, when I try this is doesn't work.
https://www.wowinterface.com/forums/...ad.php?t=57561 Lua Code:
So what does happen is I grab an item and drag it to the frame while still holding the mouse down. When I release, nothing happens. If I then click and release with the item still on my mouse pointer, it then fires the onmouseup script. How would I register the mouseup when the mousedown didn't happen on that frame? |
You probably want to use OnReceiveDrag
https://warcraft.wiki.gg/wiki/UIHANDLER_OnReceiveDrag |
Thank you, that's exactly what I needed.
|
All times are GMT -6. The time now is 11:55 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI