Text as dragImage
monte at sweattechnologies.com
Mon Mar 14 21:17:04 EDT 2011
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.
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.
> 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:
More information about the Use-livecode