Standalone doesn't close when requested
Klaus Major
klaus at major-k.de
Wed Aug 6 12:07:04 EDT 2003
Hi Barry,
> ...
> go stack "two.rev"
> close stack "one.rev"
>
> In the IDE, this works fine and one.rev closes. However, when one.rev
> is now the application
> (splashscreen), it does not close. Do I need to change the second
> line of code?
Hmm, i guess "one.rev" is just the FILENAME but not the actual "name"
of the stack...?
In that case try:
go stack "two.rev"
close stack "one"
## if thats the name...
(Maybe i'm wrong... ;-)
Remember: stacks can and should have different names for the files and
stacks...
> I'm guessing that I either need to change the code to drop the ".rev"
> suffix or, because it's
> now a standalone, I can't "close" it and must hide it in some fashion
> until the user selects
> "Quit" from the menu in the "two.rev" file.
>
> Suggestions are welcome and appreciated.
Hope that helps...
> Thanks,
> Barry
Regards
Klaus Major
klaus at major-k.de
www.major-k.de
More information about the use-livecode
mailing list