Stopping Handlers

J. Landman Gay jacque at
Wed Apr 14 13:08:06 EDT 2010

Andrew Kluthe wrote:
> I have a moveStack handler that triggers sometimes accidentally before all of
> my windows open and causes it to error out and not finish opening what is
> needed for the application.
> Can I use lock messages in my preOpenStack to keep the moveStack from being
> handled, or am I misunderstanding lock messages?

You could. Or you could put a check at the top of the handler that looks 
to see if the last window exists yet:

  if there is no window "lastWindowToOpen" then pass movestack

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list