AW: What to do to get a selected TAB-Button into the foreground?

Tiemo Hollmann TB toolbook at kestner.de
Tue May 8 02:35:51 EDT 2007


Thank you Ken, that’s it. I wouldn't have got that in lightyears :)
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-revolution-bounces at lists.runrev.com [mailto:use-revolution-
> bounces at lists.runrev.com] Im Auftrag von Ken Ray
> Gesendet: Montag, 7. Mai 2007 19:20
> An: How to use Revolution
> Betreff: Re: What to do to get a selected TAB-Button into the foreground?
> 
> On Mon, 7 May 2007 18:17:16 +0200, Tiemo Hollmann TB wrote:
> 
> > I just tried my first time a tab panel. As I see it, I put on each card
> the
> > same tab menu and set the code to:
> >
> > On menuPick . switch "foo" go to card "foo"
> >
> > So far it works, now I am missing a little thing. If I click on a tab, I
> > switch to the selected card, but the clicked tab doesn't come into the
> > foreground not until I have clicked a second time onto the same tab. I
> have
> > a pass menuPick in my script, and I don't see any property in the btn
> Tab
> > Menu to set.
> >
> > What am I missing?
> 
> It sounds to me like you have a copy of the tab panel on each card.
> What you need to do is put the tab panel into a group, and check on the
> "Behave like a background" of the group in the Inspector. Then delete
> all the other tab panels on the other cards, and then go to each of the
> cards you've already created and place the new background group on the
> card (Object menu, choose Place Group, and then pick the group). Any
> new cards you create will automatically inherit the background group.
> 
> This way all the cards are sharing the same group object so the changes
> to the tab panel is reflected on all cards at once.
> 
> HTH,
> 
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
> _______________________________________________
> 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