>I have a standalone app for multi-platforms which is a company phone directory which >is >almost finished. When it is done I will submit it to the Rev folks as a sample >program. It >does things like download data from a web page, opens and saves files to disk, sorts, >searches and some other general programming stuff. I am writing it as a way to get >familiar >with Revolution and give the folks here a useful electronic phone book. > >I would like to have the standalones save window sizing and positions between >restarts and >optionally save text in fields the user enters. > >How do I do this? The documentation seems to state that standalones are read only but >I >remember some discussions on this list which indicated that this may not be true. It >also >doesn't make sense to me that we have this great programming environment which can't >save >any changes to itself. Have I missed something. > >Thanks, >Bill Vlahos
On platforms other than the Mac, applications can't modify themselves. It's not Rev-specific, no application can. That said, the answer is to create a standalone out of the non-changing portions of your app, and make the rest a separate stack. Standalones can open stacks, and those stacks can be modified and saved. I wrote an app similar to what you're describing: <http://www.inspiredlogic.com/idirectory/> Let me know if you have any questions. regards, Geoff
