Sets the control's text.

Introduced: X18.

<void> TXTextControl.setText(<boolean> text, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
text Specifies the control's text.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.