I'm implementing a drag & drop functionality in order to add objects into a group.
(ex: you have a tool bar with several geometric shapes. When you drag one of them and drop it inside the group, a copy of that shape is created inside the group in the location you dropped it.)
I used this LC tutorial as reference: http://lessons.runrev.com/s/lessons/m/2 ... -an-object
but I have changed the
Code: Select all
set the [b]acceptDrop[/b] to true -> set the [b]dragAction [/b]to "copy"
So, everything works fine, whoever, Im missing something that I really would like to see on my app.
When you drag inside the group, the mouse cursor changes to a pointer with a [+] (like you are adding something to where your mouse pointer is. That OK, however, I also would like to see some kind of generic semi-transparent shape so that it's easier for the user to understand that he is dragging something inside the group area (the same effect that happens when you drag-drop something on your desktop or grag-drop a new control from the toolbar into a stack on livecode.
so, my question is ...
Any one knows how this can be done?
many thanks in advance,
- Miguel