If you are looking to disable a tab, you need to use the TabBar class. If you have access to the TabPanel, it's easy; just use myTabPanel.getTabBar().setTabEnabled(2,false).
If you don't have access to your TabPanel and you are in it's child, your Flow Panel, you can call myFlowPanel.getParent().getTabBar().... Please take some time and review the Javadoc at http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/index.html?overview-summary.html -Nick On May 25, 6:04 pm, mohammed abdelouhab <[email protected]> wrote: > hi > > i have a FlowPanel, it containe a TabPAnel this TabPanel containe 2 tab,the > bouth tab containe adifferent FlowPanel > the question is :Im in the FlowPanel in the first Tab and i want to desable > (SetEnbled(2,false)) then how can i get the 2nd tab. > > thanks a lot > > <marquee>ABDELOUHAB Mohammed</marquee> > > _________________________________________________________________ > Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! > Téléchargez-le maintenant !http://www.windowslive.fr/messenger/1.asp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
