Dragging from list field
scott at tactilemedia.com
Sat Jan 29 19:22:51 CST 2005
Recently, Mark Swindell wrote:
> Can I drag and drop items selected in an unlocked list field into
> another field? How can I accomplish this?
If I understand your need, the answer is sure. In its most basic form, you
can add the following to the script of your destination field:
set the acceptDrop to true
put the dragData into me
> Also, why does drag and drop in Rev not look like any other text drag
> and drop on OS X... text cursor turns to arrow, hilighted text is
> picked up and visibly carried to next window, field, etc.? I find that
> unless I know ahead of time that the text is going to come along for
> the ride, I'd never intuit it from the screen behavior of the cursor
> and selected text.
The above is exactly the reason why GetInLine was developed. Execute the
following in your message box:
go url "http://www.tactilemedia.com/download/getinline.rev"
This is not a complete solution to your problem, as it is only for list
reordering at the moment, but it could be adapted to suit your needs.
Of course you can always make a donation to further its development. :-)
Tactile Media, Development & Design
E: scott at tactilemedia.com
More information about the use-livecode