move textbox script

sims sims at ezpzapps.com
Mon Jul 12 04:22:36 EDT 2004


><snip>
>To allow user dragging, you must first set the lockText of the field 
>in a button:
>
>Button script:
>
>on mouseUp
>   set the lockText of fld x to true
>end mouseUp
>
>Then in the field script:
>
>on mouseDown
>   grab me
>end mouseDown
>
>on mouseUp
>   set the lockText of me to false
>end mouseUp

How about:
on mouseDown
   if the controlKey is down then
     grab me
     end if
end mouseDown

hth
sims

The Autumn European Revolution Conference 14-15-16 November 2004
* Kevin Miller, Rev CEO Keynote Sunday evening and daily discussions
* Two full days of Rev presentations and discussions by expert Rev developers
    Malte Brill, Richard Gaskin, Klaus Major, Frederic Rinaldi, and 
Jan Schenkel.
* Special pricing on Dan Shafer's book
* Special Rev License pricing for attendees
  http://www.techietours.com/Rev/




More information about the use-livecode mailing list