Page 1 of 1

New Card

Posted: Wed Jan 29, 2014 5:27 pm
by marcelloe
I want to create a new card to be added to the stack and also add a small view of the newly created card to the first card. I want to create new cards after the app is created into a standalone app. Is this possible?

Re: New Card

Posted: Wed Jan 29, 2014 5:32 pm
by FourthWorld
From the section of the User Guide on building standalones (p299):
Note: A stack file directly attached to a standalone application cannot have changes saved to it. This stack is bound directly to the executable file that runs. The OS locks an executable file while it is running. If you want to save changes in your standalone application, split your stack up until multiple files. A common technique is to create a "splash screen" stack that contains a welcome screen and then loads the stacks that make up the rest of your application. These stacks are referenced as stackFiles on this pane in the standalone settings screen. It is thus possible to automatically update these component stacks, or to save changes to them. You may also want to consider creating preference files in the appropriate location on your end user's system (see the specialFolderPath function and query/setRegistry functions for more information).

Re: New Card

Posted: Wed Jan 29, 2014 5:46 pm
by marcelloe
Let me see if I understand this correctly. I can create a substack with all the cards that I will need and call those cards to be used?

Re: New Card

Posted: Wed Jan 29, 2014 7:02 pm
by dunbarx
No.

A substack would be part of the stack file that cannot be modified.

You can, however, move those substacks into separate stack files in the standalone settings dialog, and you can also add as many other stack files to that package as you wish. The "main" stack will be the executable, and all the attached stack files may be changed and saved as needed.

Craig Newman