dragging questions

Stephen Barncard stephenREVOLUTION at barncard.com
Sat Jun 3 13:04:47 EDT 2006


The controls don't do that out of the box. With smoke and mirrors, 
there are techniques to simulate this effect using temporary graphics 
creation, etc. Others on this list have examples of this. Jerry 
Daniels' Constellation is a good example of this.

  What I've seen almost does the job but one gets the feeling that a 
lot of processing is used while the drag is going on, and it's never 
the quality and feel of what one sees in other apps -- seems kinda 
cheesy. It's an approximation of a OS level control we don't have in 
Rev. I'm sure there are incredible obstacles to the Rev team in 
creating one, or they'd have it available.

May I suggest that one not get hung up on any particular interface 
concept, for there are many, and what you want could be accomplished 
with two list fields and two buttons with arrow icons, if you're 
willing to abandon the drag concept.

Two list fields, with single selection each::

Select a line in each list. If one list is empty then the first, 
empty line is selected.

Push left arrow button. Selected item on side b is inserted 
after/before the selected item on side a, and the selected item on 
side b is deleted, then handle what lines to select after the change 
and you're done.


you could do this one in 10 minutes! Now that's CAKE.


>I want to drag from 1 list field to another, keep both the fields 
>locked, show the text being dragged and perform some a visual effect 
>in the end where existing text will move down to show where the drop 
>will occur. I assume if I can do all of that, rearranging text in 
>the receiving field with the same visual effect will be cake.
>
>Is what I'm describing this even possible?
>
>Byron Turner

-- 
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



More information about the use-livecode mailing list