11-13-2014 02:02 PM
hello,
i have a tab control which have 6 rows and 8 coloums of pages. if i select the 3rd row 5th page, that active page comes down to 6th row and does so for any active page its kind of confusing . instead how can i stop it from jumping down to bottom and just highlight or color the active page in its place.
11-13-2014 02:29 PM
Tab controls don't have rows and columns!
Please attach your code so we can see what you actually have.
11-13-2014 02:42 PM
When a tab control has more tabs than will fit in a single row across the top of the tab page, it creates additional rows of tabs. Clicking on a tab moves the corresponding page to the front - which it has to do. But it most annoyingly re-arranges the positions and locations of all the tabs.
While annoying, it is not clear how else the tabs could be managed and still clearly indicate which page is active.
Lynn
11-13-2014 08:57 PM
/that is how "Tabs" work
I hate "Tabs"-- Did I ever mention that
http://forums.ni.com/t5/tag/IHateTabs/tg-p
11-13-2014 09:33 PM
If you reaaaalllllyyy wanna affect the look of the tabs, hide the tabs and put a picture ring in its place that does what you want. Have the tab control index into the picture ring so they stay synch'd. Use coordinates of mouse down event on the ring control to figure out which tab got clicked on. Painful, but doable. Sucks if you want to add a tab or change the names.
I'm with Jeff.
11-13-2014 09:37 PM
ya, new pages are going to be added sometime.
may be making the page names same length might annoy less when activated so that it does not appear to be resizing a lot, will give a try.
what are other alternatives to tabs in general?
11-13-2014 09:53 PM
I'd use buttons and a subpanel, personally. As flexible as you need it to be. Communication to the calling VI is overhead but worth it considering the ability to swap in new front panels easily without having to carve that tab's worth of code out of all the rest of it.
11-13-2014 09:56 PM
@Zwired1 wrote:
If you reaaaalllllyyy wanna affect the look of the tabs, hide the tabs and put a picture ring in its place .... Sucks if you want to add a tab or change the names.
I'm with Jeff.
Yes, That would suck- Use a custom radio button and sub-panels! Sucks much less! (Hint: Follow the tags)
11-14-2014 06:56 AM
@JÞB wrote:
@Zwired1 wrote:
If you reaaaalllllyyy wanna affect the look of the tabs, hide the tabs and put a picture ring in its place .... Sucks if you want to add a tab or change the names.
I'm with Jeff.
Yes, That would suck- Use a custom radio button and sub-panels! Sucks much less! (Hint: Follow the tags)
I was thinking Enum personally.
11-14-2014 10:57 AM