Some Basic Misunderstandings/Problems with RunRev
Marian Petrides
mpetrides at earthlink.net
Wed Apr 14 14:46:32 EDT 2004
David
I have a single card standalone stack that has my "title page" if you
will: Title of the app, a button to go to instructions, one for case
menu and one for quit.
Clicking on instructions triggers a command to run instruction stack
(not standalone), clicking on case menu button runs the main menu stack
(also not a standalone), quit button quits.
Example of script for main menu button:
on mouseUp
Open stack "Main Menu.rev"
end mouseUp
Easy as pie. The only standalone in this whole picture is title page
stack. Everything else is non-standalone stack.
Hope this helps.
M
On Apr 14, 2004, at 2:37 PM, David Burgun wrote:
> Hi All,
>
>> You could have a two stack system: the app. stack and the interface
>> stack.
>> If the user clicks on the app., it goes to the interface stack.
>> If the user clicks on the interface stack it "starts using" the app.
>> stack.
>> No matter what the user does he/she ends up in the interface stack,
>> which can
>> be changed and saved.
>> Paul Looney
>
> Ahhhh, this sounds more like what I want!
>
> But how do I set this up? At the moment I have a "Stack" that contains
> all my GUI elements. From what you are saying I assume that's I'd need
> a shell that forms the standalone, this could just display a Splash
> Screen and then issue the "start using" command on the Main GUI.
>
> Question:
> Do I just locate the GUI stack in the same folder as the Standalone
> and if so can I use the "Copy Files" panel of the "Standalone
> Application Settings" to do this or do I have to move/copy it manually
> each time?
>
> However they get there, I am assuming that I will have the following
> files in the Standalone folder:
>
> StandaloneApp
> InitialGUI.rev
>
> So the user double clicks the Standalone which displays it's splash
> screen and then checks for a file called "NewGUI.rev" (which won't
> exist the first time) and if the file doesn't exist, copies the file
> "InitialGUI.rev" into "NewGUI.rev".
>
> Either way, it then issues a "start using NewGUI.rev" command".
>
> The copy code is to allow the user to reset back to the factory
> settings if need be, all that need be done is for the "NewGUI.rev" to
> be moved or renamed or deleted and upon the next launch, the factory
> defaults are back in place.
>
> More questions:
>
> Does the NewGUI.rev Stack I create have a main stack and sub-stacks as
> normal?
>
> If not, how do I set it up?
>
> If so, when I issue a "save this stack" command does it save all
> stacks and the mainStack?
>
> Thanks a lot for your time, this looks like the best approach for what
> I want to do. I just want to be sure it can do what I want before I
> start re-arranging my stack files again!
>
> All the Best
> Dave
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list