On 2/6/11 7:21 PM, dunb...@aol.com wrote:
If you know what controls are where, and you must because you made
them, named them and placed them on your palette, then can't you just
get target info, clone the control, and make it track the mouse until
dropped?

You can't drag controls from one stack to another, you can only drag them around a card. So the trick is to drag a small temporary stack, which appears under the mouse, to the target stack, then create the control in the target stack and delete the temp stack.

The temp stack used for dragging in LiveCode probably has its windowshape set to an image of the selected control, which gives the illusion of dragging the control itself.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to