Global Misbehaving
Robert Brenstein
rjb at robelko.com
Wed Sep 12 18:38:27 EDT 2007
>Ahh... I do not like the gremlins...
>
>I have seen this recommendation before, to put OpenStack scripts in
>the card, though it is confusing, because in my understanding, the
>card is upstream of the message path in this case.
>
>Like, an "OpenCard" script in a control on a card will never trigger.
>
>
>(I have gotten in the habit of trapping openStack messages in substacks with
>
>on openStack
>end openStack
>)
>
True about controls, false about card vs stack. See the great article
of Richard about message passing for details.
The start-up messages (preopenstack, preopencard, resizestack,
openstack, opencard) are sent to card 1 of the mainstack and fall to
stack script if not handled there or passed.
Robert
More information about the use-livecode
mailing list