how to listen a TextField get or lost focus?
i want to hide it, after it lost focus.
Printable View
how to listen a TextField get or lost focus?
i want to hide it, after it lost focus.
Events.Blur for focus loseCode:field.addListener(Events.Focus, new Listener<FieldEvent>(){
...
});
Thank you!:)
Hi,
I am using ExtGWT 2.0.
Why do Blur or Change evets not work on FieldSet or ContentPanel?
Hide and Show events are normally fired.
Regards,Code:final FieldSet fieldSet = new FieldSet();
fieldSet.addListener(Events.Blur, new Listener<FieldSetEvent>() {
public void handleEvent(FieldSetEvent event) {
Info.display("fieldSet Blur was fired", "");
}
});
mm
Hi, I've the same problem
this is my code
After compiling when I lose focus from wName widget, I don't see any message!! :(Code:TextField<String> wName = new TextField<String>();
....
wName.addListener(Events.Blur, new Listener<FieldSetEvent>() {
public void handleEvent(FieldSetEvent event) {
Info.display("fieldSet Blur was fired", "");
}
what's wrong?
thank in advance!!
Try this.
User OnFocus, OnBlur event, to me this works ant the others not, in my case i have used on a button.