where does "startup" message go when in IDE

dunbarx at aol.com dunbarx at aol.com
Sun Jul 5 12:23:56 EDT 2015


The dictionary says the message goes to the first stack in a new session. But I think the reason you are not trapping it if you place a handler in the stack script, and open that stack in a new session, is that other stacks open before the one you, say, double click on in the finder.

Or I am wrong about that.


-----Original Message-----
From: Dr. Hawkins <dochawk at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Sun, Jul 5, 2015 11:19 am
Subject: where does "startup" message go when in IDE

I've found the startup message, to be sent to the first stack opened.

seems useful, but I haven't been able to trap it in the IDE.

In particular, I
found an incantation to hide the stack or some such for
use at the command

Is it going to an IDE card?  Could I simulate it with a

if the
environment is "development" then

dispatch "startup" to me

end if

the first item of preOpenStack of the main stack (hmm, I suppose
beforePreOpenStack . . .)

Dr. Richard E. Hawkins, Esq.
use-livecode mailing
use-livecode at lists.runrev.com
Please visit this url to subscribe,
unsubscribe and manage your subscription


More information about the Use-livecode mailing list