Multiple Canvases with Drag and Drop

BlitzMax Forums/BlitzMax Programming/Multiple Canvases with Drag and Drop

Carl S.(Posted 2006) [#1]
All of the drag and drop examples I have seen involve 1 canvas. Can I setup multiple canvases and have the user drag and drop an image do a particular canvas?

Thanks


FlameDuck(Posted 2006) [#2]
If the drag and drop event returns EventX and EventY values, yes. But you'll have to figure out which canvas was selected on your own as drag and drop isn't widget specific IIRC.


N(Posted 2006) [#3]
Check for MouseEnter events and use the bottom-most gadget that was entered as the target gadget?