Text as dragImage

Monte Goulding monte at sweattechnologies.com
Mon Mar 14 21:17:04 EDT 2011


Hi Devin

Put your text into an invisible field with it's opaque and showborder false, set the size of it according to the formattedWidth/height to suit. Then import snapshot from control and use that image as the dragImage. 

Cheers

Monte

On 15/03/2011, at 12:02 PM, Devin Asay wrote:

> Hi all,
> 
> I'm creating a utility in which I want the user to be able to drag text from one field to another. I've worked out the details of dragging and dropping the text, but I also want to have the dragImage be a translucent copy of the text being dragged. I thought I remembered a discussion here about how to do that, but I haven't been able to find it. Has anyone done this? The effect should be similar to what you get in iTunes when you drag song title to a playlist.
> 
> TIA,
> 
> Devin
> 
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list