Combined Events

Wouter wouter.abraham at
Tue Mar 21 11:57:31 EST 2006

Hi Jeff,

This should work if the locktext and the traversalon of the field are  

on returnInField
end returnInField

on mouseDown
   answer "Hello" & cr & the millisecs
end mouseDown


On 21 Mar 2006, at 17:39, Jeff Honken wrote:

> Wouter,
>   Thank you for the reply but I'm a little confused with your  
> answer.  I
> want the same code "answer Hello" to run in a field no matter if I  
> click
> on the field with the mouse or press the enter key in the field and I
> don't want to:
> on returnInField
>     answer "Hello"
> end returnInField
> on mouseDown
>   answer "Hello"
> end mouseDown
> What I would like is something like this that will work:
> on returnInField or mouseDown
>     answer "Hello"
> end returnInField or mouseDown

More information about the Use-livecode mailing list