Sunday, May 1, 2011

Cursor disappearing from TextBox

Hello,

Cursor is being disappeared from my TextBox and I am unable
to enter anything. Just have a look at this code once.

TextBox textBox = new TextBox();
SimplePanel panel = new SimplePanel();
panel.addStyleName("downarrow");
HorizontalPanel hPanel = new HorizontalPanel();
hPanel.add(textBox);
hPanel.add(panel);

FocusWidget widget = new FocusWidget(hPanel.getElement());

RootPanel.get().add(widget);


Now in the result I am getting a widget like a ListBox.
But when I want to enter anything in that TextBox cursor is being
disappeared in 1sec from that and I am unable to enter anything. Can
anybody suggest me for this problem.


Thanks,
Vara Kumar

--
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+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