Duplicating a stack

Kevin J runrevnewbie at gmail.com
Sun Jan 27 14:15:18 EST 2008


How do you make a stack execute a command with out user interaction. Like
making something happen when the program first starts?

On Jan 27, 2008 1:55 PM, Andre Garzia <andre at andregarzia.com> wrote:

> Kevin,
>
> I use a similar technique in one software of mine. The idea is to
> create a "basic empty stack", one with your controls in it but with no
> user generated content. Just like the window your user would see as
> soon as he started using your program. You then hide this window (you
> can move it offscreen or simply hide it).
>
> When you need to create one more document, you then, clone that stack
> but you never allow the user to see or interact with the original.
> This way, you always have a pristine empty copy for your cloning
> needs.
>
> :-)
>
> Be welcome to the Revolution, hope to see your software soon
>
> Andre
>
> On 1/27/08, Kevin J <runrevnewbie at gmail.com> wrote:
> > I guess I should have stated this at the beginning, This is my first
> time
> > ever using Revolution. So this is a real learning curve for me. Is there
> an
> > example of what you are talking about that I could see?
> >
> > Thanks
> >
> > Kevin
> >
> > On Jan 27, 2008 1:10 PM, Mark Smith <mark at maseurope.net> wrote:
> >
> > > Kevin, since your 'document' stacks are created when the user
> > > chooses, you could have a hidden ('visible' set to false) version of
> > > the necessary stack, and just clone it and make it visible as
> > > necessary, instead of cloning a stack that the user is already
> > > working with.
> > >
> > > Best,
> > >
> > > Mark
> > >
> > > On 27 Jan 2008, at 18:06, Kevin J wrote:
> > >
> > > > Thats ok lol but there is really nothing in the docs that explains
> > > > how to
> > > > use it. It gives a very vague example "itset the ID of the
> > > > templateStack to
> > > > 2000"
> > > >
> > > > ---------- Forwarded message ----------
> > > > From: Stephen Barncard <stephenREVOLUTION2 at barncard.com>
> > > > Date: Jan 27, 2008 12:54 PM
> > > > Subject: Re: Duplicating a stack
> > > > To: How to use Revolution <use-revolution at lists.runrev.com>
> > > >
> > > >
> > > > check out "TemplateStack" in the docs.
> > > >
> > > >> That works great only problem with that is that if there is
> > > >> something in
> > > > the
> > > >> main field it clones that as well. It need to be empty. I tried
> > > >> "put ""
> > > > into
> > > >> field "fldMain" but it will not do it. I'm not sure where I would
> > > >> place it
> > > >> to make the field blank.
> > > >>
> > > >
> > > > --
> > > >
> > > >
> > > > stephen barncard
> > > > s a n  f r a n c i s c o
> > > > - - -  - - - - - - - - -
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > use-revolution mailing list
> > > > use-revolution at lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > > subscription
> > > > preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > > > _______________________________________________
> > > > use-revolution mailing list
> > > > use-revolution at lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > > subscription preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > >
> > > _______________________________________________
> > > use-revolution mailing list
> > > use-revolution at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-revolution
> > >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
>
> --
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list