Friday, July 25, 2014

How to get the Total of current tabs in TabLayoutPanel?

We have tabLayoutPanel.selectTab(1) to select the the 2nd tab of the tabLayoutPanel However, we need to make sure that the tabLayoutPanel must currently have 2 tabs otherwise it will have "out of bound" error.

And if it has "out of bound" error & the rest of the code will not be implemented.

But there is no getTotalTabs method in tabLayoutPanel

do we need to get the Tab header and found the total tabs from the tab header? How to fix it?

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment