Simple Scoping Question

J. Landman Gay jacque at hyperactivesw.com
Wed Apr 20 16:25:01 EDT 2005


On 4/20/05 2:33 PM, David Burgun wrote:

> Ok, I think I understand that, in this case though, the Stack in 
> question *is* a main stack, does this make a difference?

Every stack has one or more cards; mainstacks, substacks, all of them. 
Type this into the message box:

  go card 1

Whatever card appears, that is card one of the current stack. Card 1 is 
also the card you first see when the stack opens, as the engine 
automatically displays that card by default. If you have not set a label 
for your stack and it has more than one card, you will see the card 
number in the title bar as well.

Cards are numbered in the order you have created them. A new stack 
automatically has one card. If you create another card, that will be 
card 2. If you use the arrow keys to page through your stack, it will 
show the cards in order. You can change the order of the cards if 
necessary (though it isn't often done; usually only needed if you decide 
you want to add a title card at the front later on.) To change card order:

   set the number of this card to <number>
i.e.: set the number of this card to 1

Ask if you need more info.

> 
> The reason I asked is because I have some Stacks that have multiple 
> cards formed into a Tabbed Button, one card for each tab, and on the 
> stacks that have this control I send a menuPick command to the Tab to 
> select the correct card. I was wondering if this would cause problems, 
> seems not? Just add it to the fist card of the Stack.
> 
> Ok, I will give this a try and report back.
> 
> Thanks a lot for your help, you don't know how much I appreciate it. 
> Some of this stuff is a complete mystery. The documentation seems so 
> scattered that it's hard to know what is going on sometimes.
> 
> I guess it doesn't help that the IDE gets hosed so often when trying to 
> setup this kind of stuff.
> 
> All the Best
> Dave
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> 


-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com


More information about the use-livecode mailing list