¿Cómo se registra un oyente de eventos en los eventos de aparición / desaparición del teclado virtual en Blackberry Playbook usando Flex?

Not why no one has been complaining about this but I'm have a lot of problems with the Blackberry Playbook Virtual Keyboard on the Simulator.

I have an richedit component in the middle of the screen and as soon as the virtual keyboard appears to enter text, it completely hides the text input. I'd like to move the text input up when the keyboard appears/disappears. Is there any way to do this? I don't want to muck around with the focus_in and focus_out events on the richedit. I've tried, and it's not very reliable.

Gracias de antemano!

preguntado el 09 de enero de 11 a las 03:01

1 Respuestas

We expect the next release of the SDK (long overdue at this point but, I think, imminent) to provide much more complete support for the virtual keyboard. Until that occurs, I think it's a waste of time to attempt to do anything special with it.

I also think there's a chance it will automagically move your whole stage up when it would cover up a text input, so maybe you won't have to do anything about it anyway.

Editar: Actually I published code in January describing an undocumented way to support this, using some rudimentary PPS support. It also shows how you can programmatically control the keyboard opening and closing. I don't recommend it yet for real code...

respondido 20 mar '11, 15:03

Aw man, I've already retrofitted the app to move the view up to text input. - Kenneth

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.