TextBox wrap - unable to enter text

Hi there,

I am trying to use a textBox rather than a textField so that I can wrap text, however I am unable to type anything in the box when I create it. 

Can someone please advise if I am doing something wrong when creating the box?

Code I am using is:


local textField = native.newTextBox (display.contentWidth/2, display.contentHeight/2, 500, 600)


I have a feeling I am missing something… 

Cheers 

Daine :slight_smile:

In your case:

textField.isEditable = true

Should enable you to edit the contents.

Hope this helps :slight_smile:

You legend, 

Thanks for the help :smiley:

No problem :wink:

In your case:

textField.isEditable = true

Should enable you to edit the contents.

Hope this helps :slight_smile:

You legend, 

Thanks for the help :smiley:

No problem :wink: