keyboard not displayed when I tap into a textBox

Hello

I created in my app a textbox using the following code
local otherInfo = native.newTextBox(50,100,200,60)

I also tried to add the fieldHandler parameter, but I wasn’t able to make the keyboard appear when I tap into the textbox on device. If I use a textfield object the keyboard is showing just fine when it is focused.

Is there anything else required in order for the textbox to be usable?

Thanks,
Dreea [import]uid: 9119 topic_id: 2065 reply_id: 302065[/import]

If you study the documentation, then you will see that the textbox doesn’t have a keyboard handler. The textbox is only for displaying scrollable multiline text. [import]uid: 5712 topic_id: 2065 reply_id: 6047[/import]

I’ve seen that in documentation, but in the sample code provided, in the project NativeDisplayObject there is a textbox used like this:

textBox = native.newTextBox( 15, 70, 280, 70, fieldHandler ) and I thought I can try to use it like that

So if I want to input text I can only use the textfield object?

Thanks for your answer, Mike [import]uid: 9119 topic_id: 2065 reply_id: 6049[/import]

The fieldHandler in the native.newTextBox in the sample code is a mistake and doesn’t do anything. Only the native.newTextField allows text input.

-Tom [import]uid: 7559 topic_id: 2065 reply_id: 6118[/import]