How can I make my mainstack stay invisible?
Ron
rbarber at yhb.att.ne.jp
Mon Aug 18 22:58:00 EDT 2003
Graham
> Thanks to Ken for his solution - looks good.
>
>> What do you mean by anchor? Why do you need to open the stack at all if it's
>> always invisible to the user?
>>
>
> It's the stack with all the startup logic and it's the root of all
> the common handlers for the rest of the app, plus it contains private
> debugging info (I have a kind of tracer/timer routine that shows the
> progress of certain events in a field I can look at during
> development). Since it's the mainstack, it opens automatically when
> the app starts. I may have designed my app in a stupid way from the
> RunRev point of view, but I got some of these ideas from SuperCard
> and they've stuck...
I've done a similar thing. I like Ken's idea but what I have done is put a
'set the visible of me to false' in the on startup handler. During
development it is commented out and when I build, I uncomment it.
HTH
Ron
More information about the use-livecode
mailing list