How to tell when IDE is done loading

J. Landman Gay jacque at hyperactivesw.com
Tue Dec 23 23:09:37 EST 2014


On 12/23/2014 2:44 PM, Michael Doub wrote:
> How can you tell when the IDE is done loading?   I am trying to figure
> out how to have the initialization of my app happen _after_ all of the
> IDE stacks have loaded.  When my stack is double clicked from the
> desktop, my initialization code calls revloadedStacks() before the IDE
> has loaded it and I am getting an execution error.

I usually just put in a "send myHandler to me in 1 second" command in an 
openStack handler on the first card. Then "myHandler" does whatever 
needs doing. One second seems like enough time usually.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list