> -----Original Message-----
> From: yves COPPE [mailto:[EMAIL PROTECTED]]
> Hi,
> 
> I have a fld which locktext is false.
> The fld has "move to next fld when return/tab key is pressed" 
> is checked.
> At the side of the fld, a btn "OK" with "auto-click when return/enter 
> key is pressed" is checked.
> 
> 
> I'd like the user type one only line in the fld, then hit the return 
> key to activate the OK btn.

        on enterInField
          send mouseUp to button "OK"
        end enterInField

        on returnInField
          send enterInField to me
        end returnInField


That should do it.

-Glen Yates
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to