On Feb 19, 2011, at 12:32 PM, Richard Gaskin wrote:

> That said, it's still easier to work with this in LiveCode than it is in 
> nearly any other RAD tool - Sarah Reichelt has you covered here:
> 
> <http://livecodejournal.com/tutorials/saving_data_in_revolution.html>


I was about to point to that too, but I tried out some things first. For our 
simple cases that article may be a bit overwhelming.

As best I can tell, and it seems to work, you would go into the application 
settings, Stacks area, and check the box that says "Move substacks into 
individual stackfiles". Having done that, you can then do a save of any 
substack.

In my quick test of that, I have a main stack of Untitled 1, and a substack of 
Untitled 2, and on the Untitled 1 stack I have a button with this script in it:

on mouseUp
   save stack "Untitled 2"
end mouseUp


Clicking that does indeed make the substack save its contents, they are there 
next time I launch the app.


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to