preOpenCard inside behaviors, does it works?

Mark Wieder mwieder at
Tue Jun 22 15:31:34 EDT 2010


Tuesday, June 22, 2010, 11:22:21 AM, you wrote:

> Now, if I can't set things like preOpenCard in behaviors, how am I supposed
> to run code when the stack launches from behaviors?

in script of card 1:

on preOpenStack
    dispatch "preOpenStack" to the behavior of this stack
end preOpenStack

-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list