Skip to main content
Version: Next

WP DELETE TEXT BOX

WP DELETE TEXT BOX ( textBox )

ParameterTypeDescription
textBoxObjectText box

This command is not thread-safe, it cannot be used in preemptive code.

Description

The WP DELETE TEXT BOX command deletes the text box defined by the textBox parameter.

If textBox does not exist, the command does nothing.

Example

You want to delete a text box using its ID:

 var $myTextBox : Object
 
  // Get the text box
 $myTextBox:=WP Get element by ID(myDoc;"AddressBox")
 
  // Delete the text box
 WP DELETE TEXT BOX($myTextBox)

See also

WP New text box