user-movable fields
SB
aj445 at traverse.lib.mi.us
Wed Apr 6 13:15:46 EDT 2005
Hi Pat and Signe,
Hmmm, maybe I'm missing something, but the original code seems to work
OK to move the fields either in the IDE or a standalone on OS X.
Is this not true in Windows? I just had a big Windows problem in
another area, so want to know these things early!
thanks,
Sandy
> This doesn't quite work. You need:
>
> on mousedown thebutton
> if thebutton is 3 then grab me
> end mousedown
>
> See Jeanne's email and the docs for mousedown in an unlocked field
> (right
> click for Win, control click Mac)
>
> It probably seemed to work for you because you were using the pointer
> tool
> in the IDE.
>
> Pat
> .......
> So, if you only want to let the user move the field, but not move or
> copy
> the text, would you use
>
> on dragStart
> end dragStart
>
> on mousedown thebutton
> if thebutton is 3 then grab me
> end mousedown
>
> This works, but just wondered if this was the right way.
>
> Pat
>> Surprise surprise... when you select the text in an unlocked field and
>> drag it to another unlocked field, you move the text to this new
>> field.
>> When control-clicking and dragging you put a copy of the text into
>> the new
>> field. (This is on Windows.) There are always new things to learn!
>>
>> Regards
>> Signe Marie Sanne
More information about the use-livecode
mailing list