PDA

View Full Version : segmentedbutton in TabBar/ TabPanel?



ckelly
28 Jul 2011, 4:20 PM
Hey All,

I'm currently using a TabPanel for switching between cards, but I was curious to know if there's an easy/ built-in way to make the TabPanel buttons look more like segmented buttons such as the ones found in a toolbar?

I've built out a version based on a panel/ toolbar that switches cards using segmentedbuttons, but it's a bit hackey, and I just wanted to make sure I'm not missing anything obvious before I devote any extra time to building one out properly.

Thanks in advance!

alanr1
5 Aug 2011, 7:02 PM
fwiw, I used the same approach and put segmented button on toolbar that invokes setactiveitem. in some cases I use a selectfield in the same way...

the tabbar is limited in what you can put on it and have the styles look reasonable...

the toolbar is more accepting

i've experimented with including toolbars inside of tabbars, etc. but it seems a little ridiculous...

alan