Display card or stack within a tab panel

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Tate83
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 30
Joined: Fri Mar 01, 2013 1:11 am

Display card or stack within a tab panel

Post by Tate83 » Fri Jun 21, 2013 8:17 am

Hi
I would like to display some content (different cards or substacks or whatever) in a tab panel on my mainstack. however, the tab panel only takes half of the stack size and the rest of the content remains the same. basically I am looking for a "iframe" functionality. any ideas?

thanks,
pascal

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Display card or stack within a tab panel

Post by jmburnod » Fri Jun 21, 2013 9:01 am

Hi Tate83
Why not a group for each frame ?
kind regards
Jean-Marc
https://alternatic.ch

Tate83
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 30
Joined: Fri Mar 01, 2013 1:11 am

Re: Display card or stack within a tab panel

Post by Tate83 » Fri Jun 21, 2013 9:12 am

Hi Jean-Marc

That's another idea..
Think I could do that too, if I understand you right:
-create a group for reach tab on the tab panel
- just change the visible for the group that is belonging to the currently selected tab

Best regards,
Pascal

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Display card or stack within a tab panel

Post by jmburnod » Fri Jun 21, 2013 9:21 am

Yes,
Set the visible or location of the group
Best
Jean-Marc
https://alternatic.ch

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Display card or stack within a tab panel

Post by jmburnod » Fri Jun 21, 2013 10:07 am

Other option :
• One group background behavior = true with sharedtext in each card for the same text
• One card for each tab
Best
Jean-Marc
https://alternatic.ch

Post Reply