Remove and add them as required Ian http://examples.roughian.com
2009/10/14 Rockster <rjan...@gmail.com> > > It is customer requirement so we want to make it invisble. > I know what you mean, but other visible tabs (that are not in scope > for this user) could confuse the user. > > So Again, how do I make the tab invisible ? > > > On Oct 14, 8:44 am, "alex.d" <alex.dukhov...@googlemail.com> wrote: > > Do you really want to make tabs invisible or just to switch between > > them like when is clicking on one tab? > > > > On 13 Okt., 15:02, Ian Bambury <ianbamb...@gmail.com> wrote: > > > > > > > > > You are just making the content of the deckpanel invisible, not the > tab. > > > Ian > > > > >http://examples.roughian.com > > > > > 2009/10/13 Rockster <rjan...@gmail.com> > > > > > > Hi, > > > > > > I'm adding panels to a tabpanel and I see some strange behavior. > > > > > > The code is something like this: > > > > > > TabPanel tabPanel= new TabPanel(); > > > > UIObject tabUI1 = createPanel(); > > > > UIObject tabUI2 = createPanel2(); > > > > > > tabPanel.add((Widget)tabUI1, title); > > > > > > tabUI2.setVisible(false); > > > > tabPanel.add((Widget)tabUI2, title2); > > > > > > The second tab is still shown and fully active, while I made it > > > > invisible. > > > > BTW, imagine that tabUI2 can later on be activated and become visible > > > > again! > > > > > > Can anyone help ? > > > > > > Seems like this issue was posted before, but no one really gave an > > > > answer. > > > > > > Is this a flaw in the tabpanel ? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---