user-movable fields?
Pat Trendler
ptrendler at bigpond.com
Wed Apr 6 03:20:35 EDT 2005
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
----- Original Message -----
From: "Signe Marie Sanne" <Signe.Sanne at roman.uib.no>
To: "How to use Revolution" <use-revolution at lists.runrev.com>
Sent: Wednesday, April 06, 2005 4:44 PM
Subject: Re: user-movable fields?
> Jeanne A. E. DeVoto skrev:
>> At 2:11 PM -0400 4/5/05, Thomas McGrath III wrote:
>>
>>> Is the control key behavior just in the IDE or will it work in a
>>> standalone? Don't we need to code the control behavior for a standalone?
>>
>>
>> No: Control-clicking (or right-clicking) an unlocked field sends
>> mouseDown, mouseUp, etc. instead of opening the field for editing. This
>> is built-in behavior of fields. (There's a note in the docs for mouseDown
>> and mouseUp.)
>
> 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
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list