bonnmike at gmail.com
Wed Mar 20 14:43:27 EDT 2013
Oh duh. So even if its a send in time, and the control DOES exist by the
time the send kicks in, the underlying stuff doesn't get set right when the
send is queued so it doesn't work? That actually makes sense.
Think I'm going to start changing how I structure things from now on.
On Wed, Mar 20, 2013 at 12:21 PM, Mark Wieder <mwieder at ahsoftware.net>wrote:
> Peter Haworth <pete at ...> writes:
> > I guess I'm just very suspicious of anything other than really
> > straightforward commands in preOpenCard now.
> Well, here's the thing. It's *pre*OpenCard because the card and its
> haven't been instantiated yet. So sending a message to a control that
> officially exist shouldn't work. The script is there in memory, so you can
> handlers in it, but it's not yet associated with an on-screen object. The
> handlers exist so that you can set things up before the objects take form.
> Mark Wieder
> mwieder at ahsoftware.net
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode