Tabbed Buttons & Cards Question

Jim Biancolo webmaster at listology.com
Fri Apr 18 13:49:01 EDT 2003


Hi again folks,

I've been playing with this more, and I'm still a bit stumped.  I thought 
the answer might be to have a stack ("ParentStack") that contains my tabbed 
buttons, and then whenever the user clicks a tab this code fires (the 
substacks have the same name as the tabs):

   go stack currItem in window "ParentStack"

So if the user clicks "Tab 1" a substack named "Tab 1" is loaded.  This 
kinda works, except the "Tab 1" substack completely replaces 
"ParentStack."  This is not a surprise, but the undesired effect is that 
the tabbed buttons are now hidden from the user (since they are on 
"ParentStack", not the "Tab 1" stack).

 From my prototyping so far it looks like I could make this work by copying 
the tabbed buttons onto each stack, but this seems inefficient to me and a 
bit of a maintenance headache.  Is there a way to have all the stacks 
"share" the tabbed button navigation element I want to use?

Thanks!

Jim

At 08:13 PM 4/17/2003 -0400, Jim Biancolo wrote:
>Hi folks,
>
>I could use some help figuring this out:
>
>I'd like to create an interface with two tabbed buttons.  Clicking Tab A 
>should bring up a data entry form where the user can create multiple 
>records (I've prototyped this using the backgroundBehavior such that each 
>"record" is a card) .  Clicking Tab B should bring up a different data 
>entry form where the user can create a single record.  The thing that I 
>can't figure out is how to have a "many cards" group in one tab, and a 
>"single card" group on another tab.  Is such a thing possible?
>
>Thanks in advance!
>
>Jim
>
>_______________________________________________
>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