Obsolete. This method will be removed in one of the next versions. The removeTextField method removes a text field from the document.

Introduced: X15.

<void> TXTextControl.removeTextField(<TextField> textField, <boolean> keepText)

Parameters

Parameter Description
textField The text field to remove from the document. Allowed types are TextField and ApplicationField. Must have been retrieved with getTextFields beforehand.
keepText If this parameter is set to true, the field is removed without deleting its visible text. Otherwise, the field's text is also deleted.