dunno about the scolling but as for the "snap to 1st available box" could
you use a variable that holds a value that is incremented/ decremented each
time a box is filled or an array that holds values for whether a box is
filled or not. When a user drags to the box, a handler could check for the
last used position (eg box 3) and add 1 (setting the next free box to 4).
Then a case statement could handle the point positioning of the sprite:

case (available_box) of

1: set the loc of sprite(draggedsprite) to point(50,50)
2: set the loc of sprite(draggedsprite) to point(100,100)
3: set the loc of sprite(draggedsprite) to point(150,150)

etc.

Since the var or array is constantly updated, you keep tabs on the available
slots.





[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to