move textbox script

Jeanne A. E. DeVoto revolution at jaedworks.com
Mon Jul 12 04:40:42 EDT 2004


At 10:22 AM +0200 7/12/2004, sims wrote:
>How about:
>on mouseDown
>   if the controlKey is down then
>     grab me
>     end if
>end mouseDown

You don't have to specify "if the controlKey is down", actually - if 
the control key isn't down (or if you don't right-click), an unlocked 
field won't get the mouseDown message, so the handler executes only 
if you control-click or right-click.
-- 
jeanne a. e. devoto ~ jaed at jaedworks.com
http://www.jaedworks.com


More information about the use-livecode mailing list