Page 1 of 1

best way to shut down app

Posted: Fri Sep 23, 2011 7:07 pm
by bsouthuk
Hi

I am struggling to decide on the best way to code a button that basically closes down my desktop application when user no longer wants to user it.

Is it a simple:

Code: Select all

close stack "ThisStack" ??
What if their are a number of stacks open at the same time? What is the best way to code this?

Re: best way to shut down app

Posted: Fri Sep 23, 2011 7:50 pm
by Mark
Hi too,

Here's an example
http://runrev.info/Save%20Way%20to%20a%20Quit.htm

Best,

Mark

Re: best way to shut down app

Posted: Fri Sep 23, 2011 8:09 pm
by bsouthuk
Thats great Mark, thank you very much.

One more thing, if my user wanted to 'logout' therefore all stacks are to close apart from the main stack what would be best then?