What is the best way to set all properties on opening of the script?
I have a stack with two sub-stack, I need to set some properties on all the stacks before user digit anything.
Script will load all properties from an external file.
Best way to set properties on opening?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Best way to set properties on opening?
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: Best way to set properties on opening?
Hi Max,
not sure I understand, but you can write an "inititalize" handler and execute it "on openstack" in the mainstack.
Livecode is fast enough, the user will not notice.
Best
Klaus
not sure I understand, but you can write an "inititalize" handler and execute it "on openstack" in the mainstack.
Livecode is fast enough, the user will not notice.
Best
Klaus
Re: Best way to set properties on opening?
Hi.
As Klaus mentioned, LC executes sends a few messages before it itself opens and also before any stack opens. You can trap these, and lock the screen and/or hide any stacks during your initialization process so the user does not see what you are doing. In that way you can even navigate to other stacks and nobody will know, if that is necessary
Craig Newman
As Klaus mentioned, LC executes sends a few messages before it itself opens and also before any stack opens. You can trap these, and lock the screen and/or hide any stacks during your initialization process so the user does not see what you are doing. In that way you can even navigate to other stacks and nobody will know, if that is necessary
Craig Newman