Saving the status of Option using custom properties?

2011-09-17 Thread Charles Szasz
Is it possible to save the status of an option menu as a custom property? My project has two stacks: a launcher stack and an app stack. My option button of course is in the the app stack. I have looked in the rev archives and did not find an example on how to do this. Charles Szasz

Re: Saving the status of Option using custom properties?

2011-09-17 Thread Dar Scott
Is the app stack then a separate stack from the actual program? Perhaps you can save that. Or you can save a file when the stack is closed and load it when the stack is opened. Save the menuHistory. Perhaps what you want is a preferences file. There are probably examples around on

Re: Saving the status of Option using custom properties?

2011-09-17 Thread Charles Szasz
Hi Dar, The app stack is a separate stack from the launcher stack. I do have preferences substack that saves the name and other things of the user. If I do not use custom properties, how do I save the status of the Option button as a preference? Charles Szasz csz...@mac.com

Re: Saving the status of Option using custom properties?

2011-09-17 Thread Dar Scott
Oh, I see. Sure, use a custom property in the preferences stack. Someplace in starting up set the option button. Someplace in shutting down, save the preferences. Set the custom property either when the option button changes or just before saving. Or you can save the preferences every time