I think you are going to have to become familiar with drag and drop commands. I 
can conceive of an app intercepting a mouseDown in a card, starting a drag/drop 
operation, and then changing the loc of the app as the user drags the mouse 
around the screen. You will probably want to do some kind of loop with a wait 
in it, otherwise the movement may be too jerky due to constant updates of the 
stack's loc. 

It might be better also to figure out the initial offset of the mouseLoc in 
reference to the screen, from the loc of the stack, so that the stack loc does 
not immediately jump to the mouseLoc when you first right click it. 

Bob


On Jul 19, 2012, at 11:35 AM, Magicgate Software - Skip Kimpel wrote:

> I have a stack that has a custom shape so that when it runs it has a
> transparent background.  Since it has no controls at the top as you
> would normally have in a main stack, is there a way to allow the user
> to drag and move the stack around the screen at run time?
> 
> _______________________________________________
> 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


_______________________________________________
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