PDA

View Full Version : TabPanel - How to add something on the same level as the tab row



joku
24 Apr 2008, 3:12 AM
Is there a way to add items like images,hyperlinks,combo boxes,etc... on the same level as the tabs of the tabpanel? I only have about 3 tabs on the left and I'd like to add items aligned to the right.

24 Apr 2008, 4:09 AM
you'll need to extend tabpanel to add items to the 'tab strip'

joku
27 Apr 2008, 10:40 AM
Thanks for the reply J. I was looking around at how I might extend the TabPanel and I noticed that it extends Panel and puts the tabs in the Panel header or footer(whichever is specified) - this is good!
I've been wanting to add items to the Panel headers(buttons,hyperlinks,images,etc...) too!! Anyways, before moving on to extend the Panel header to allow regions, do you currently know of a way to put things in the Panel header?

27 Apr 2008, 10:54 AM
unfortunately, i've never done it. The best i could suggest is looking at how it's constructed (source), and modify accordingly.