GWT POPUP Z AXiS Order and after Keypress data change handler

48 views
Skip to first unread message

RAY RAY

unread,
Dec 19, 2011, 10:58:07 PM12/19/11
to Google Web Toolkit
Dear Friends,

i have a project on going and i need some help from you guys

I have 2 questions

I create a TabSet and a newTAB in it. inside the TAB i put a TextBox

1- I add an eventhandler to text box
every time event fired a popup is set to be shown and after a while
set to be hide.
unfortunetly my popups Z-Axis ( in other words from back to front
oder ) always stays at the back of the tabset
could some body help me out with this?

2 - i add keypress event handler to text box
this eventhandler is called before the data changes inside the textbox
so i recall keypress handler twice to get the data change after every
key press. this is a work around, how can i handle the data change
after a keypress

Ed

unread,
Dec 20, 2011, 3:21:45 PM12/20/11
to google-we...@googlegroups.com
> 1-   I add an eventhandler to text box
Sounds like a css issue. Use Firebug to solve this. Probably the z-index isn't correct.

> 2 -   i add keypress event handler to text box
See the Event class for the possible events that you can use. 
For example: Event.ONCHANGE


Jens

unread,
Dec 21, 2011, 12:58:51 AM12/21/11
to google-we...@googlegroups.com

2 -   i add keypress event handler to text box
this eventhandler is called before the data changes inside the textbox
so i recall keypress handler twice to get the data change after every
key press.   this is a work around,  how can i handle the data change
after a keypress

Use the KeyUpEvent/Handler if you want the already updated data via textBox.getText().
Reply all
Reply to author
Forward
0 new messages