Tabbed Buttons & Cards Question

Sarah sarahr at genesearch.com.au
Mon Apr 21 18:58:00 EDT 2003


Hi Jim,

Here are a couple of ideas:
You could make the navigation tabs into a separate palette so that they 
were always visible no matter what stack you had open.
OR
You could use different cards in the same stack instead of different 
stacks. Then if you group your tabbed button and set it's 
backgroundBehavior to true, it can be placed on all the cards in that 
stack.

Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/


On Saturday, April 19, 2003, at 03:50  am, Jim Biancolo wrote:

> 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
>
> _______________________________________________
> 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