ID:271683
 
Hey,

So very very excited about skins and I started tinkering around today. I was wondering though how to link a proc to a drop event in a grid. Is there a way to do that? or do I need to add an object to the grid and then handle the code in that objects MouseDrop proc?

Thanks in advance for the help guys.
Read the updated reference of MouseDrop(), there's an argument which returns what interface element ID the objects was dragged from and which it was dropped into (eg: if the map is 'map1' and the grid is 'grid2' and they both are in 'window', if the object was taken from the map and droppd in to the grid, the src_control would be 'window.map1' and the over_control would be 'window.grid2')
In response to GhostAnime
Awesome, exactly what I needed to know. Looks like I'll need to retool some of my old Drag n Drop code too.

Thanks so much!