A property setup of native.newText*** cannot be performed in v2014.2511.

Did behavior of a property change in native.newText*** ? 

The following becomes an error by the 2nd line.

1> txtBox = native.newTextBox( x, y, w, h, function( event ) end)

2> txtBox.isEditable = true

Error: … attempt to index field ‘txtBox’ (a string value) message …

Did the setting method change? 

A difference was not able to be discovered on a document. 

I am examining some soon etc…

Hi @CyberCatfish,

Please inspect the console and you’ll see why this is happening. Adding a listener function “inline” has been deprecated, and you need to now specify it separately according to the documentation. Fix that and you will not get the error.

Best regards,

Brent

Hello Brent;  Thank you for reply,

Was there any change of lua syntax?

http://docs.coronalabs.com/

I looked at the corona api document briefly. 

Change of this function was not seen.

The updating item was not found in the document.

Where should I look at?

Hi @CyberCatfish,

The current method is shown in the examples here:

http://docs.coronalabs.com/api/library/native/newTextBox.html

Hello Brent;  Thank you for reply,

Please teach me. 

Where does the point it is judged that cannot use in-line one become?

Is it a problem of a function? Is it a problem of language?

Hello Brent;

This question was while being left, but I understood finally.

It was a mistake of API document.

A document was revised.

Syntax 11/21 > native.newTextBox( centerX, centerY, width, height [, listener] ))

Syntax now > native.newTextBox( centerX, centerY, width, height )

Correction of a mistake is welcomed.

But I want you to improve a silent renewal of a document.

I want the revise history.

Hi @CyberCatfish,

Please inspect the console and you’ll see why this is happening. Adding a listener function “inline” has been deprecated, and you need to now specify it separately according to the documentation. Fix that and you will not get the error.

Best regards,

Brent

Hello Brent;  Thank you for reply,

Was there any change of lua syntax?

http://docs.coronalabs.com/

I looked at the corona api document briefly. 

Change of this function was not seen.

The updating item was not found in the document.

Where should I look at?

Hi @CyberCatfish,

The current method is shown in the examples here:

http://docs.coronalabs.com/api/library/native/newTextBox.html

Hello Brent;  Thank you for reply,

Please teach me. 

Where does the point it is judged that cannot use in-line one become?

Is it a problem of a function? Is it a problem of language?

Hello Brent;

This question was while being left, but I understood finally.

It was a mistake of API document.

A document was revised.

Syntax 11/21 > native.newTextBox( centerX, centerY, width, height [, listener] ))

Syntax now > native.newTextBox( centerX, centerY, width, height )

Correction of a mistake is welcomed.

But I want you to improve a silent renewal of a document.

I want the revise history.