Hi, I need to set tab orders on my page, which has a tab menu bar consisting of push buttons. On one of the push buttons (say button A) there is a popup window. When the user presses tab key on the keyboard, he should be able to navigate through the menu, and through the popup window elements.
The popup window is a DecoratedTabPanel with two tabs, here is the code to create the panel: public void addRefDoc(String text, String content) { HTML child = new HTML(content, true); child.setSize("100%", "100%"); child.addStyleName("refDoc"); ScrollPanel scrollPanel = new ScrollPanel(child); scrollPanel.setSize("100%", "100%"); scrollPanel.setAlwaysShowScrollBars(true); tabPanel.add(scrollPanel, text); tabPanel.selectTab(0); } To add the two tabs, I called addRefDoc() twice as below: display.addRefDoc("Reference Doc1", "text 1"); display.addRefDoc("Reference Doc2", "text 2"); My question is how to set the tab index on the two tabs created. Thanks a lot! -Kun -- 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-tool...@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.