Combined Events

Cubist at Cubist at
Tue Mar 21 18:26:47 EST 2006

In a message dated 3/21/06 8:14:18 AM, "Jeff Honken" <jhonken at> 
>Is there any way to combine events so you don't have to have redundant
>code.  I would like the same code to run on both the "on returnInField"
>and "on mouseDown" events.  Jeff
   In general, the solution to this problem looks something like this:

on returnInfield
end returnInField

on mouseDown
end mouseDown

on DoStuff
  real code goes here
  code real here goes
  here code real goes
end DoStuff

  Hope this helps...

More information about the Use-livecode mailing list