How to scroll the textbox to appropriate position when virtual keyboard pops-up in Blackberry

StackOverflow https://stackoverflow.com/questions/10749250

質問

I am using J2ME, Lwuit and Blackberry api for developing my app.

My form contains textbox as well as toolbar. While touching the textbox, the virtual keyboard appears and then disappears. This is happening due to the toolbar. Even if I remove the toolbar, the textbox remains beneath the virtual keyboard instead of scrolling up. Issue is happening for the touch phones, for which we have to use touch screen.

I want the textbox to scroll up to the appropriate level to make it convenient for user.

Did anybody faced the same issue! Please share the solution.

役に立ちましたか?

解決

There is a bug in LWUIT in that specific feature. It might have been fixed in Codename One but I'm not sure.

他のヒント

Did you know that you need a different UI lib for Blackberry touch development? If you don't import this specific lib you can find foreign issues. You must import a lib called UI_RIM_Touch.jar, if you generate this project with the Resource editor, you can find this file in the root of your project. Try this.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top