Sandy,
I hadn't built a windows standalone (win xp pro), but seeing your question, I've just tried it out.
With just "grab me" in the mouseup: right click does move just the field. selecting text and left click drags the text. selecting text and control left click drags amd copies the text.
With just "grab me" in the mouseup (if thebutton is 3 not needed) and on/end dragStart:
right click moves only the field.
text cannot be moved or copied with or without control key.
HTH Pat
----- Original Message ----- From: "SB" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, April 07, 2005 3:15 AM
Subject: Re: user-movable fields
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
_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
