there is a button in the first tab of tabLayoutPanel and when press that button, I want the focuspanel tab is selected, so I write
[code]
SSearchDetailResult sSearchDetailResult = new SSearchDetailResult();
tabLayoutPanel.add(sSearchDetailResult, "Detail");
sSearchDetailResult.setVisible(true);
tabLayoutPanel.selectTab(sSearchDetailResult);
// tabLayoutPanel.selectTab(1);
[/code]
the result is the sSearchDetailResult can be selected, but there is error in eclipse development tab as follow:
JavascriptException: (Error): Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
what is the problem come from?!!
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/loOtgmnLUEYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment