Skip to main content
Version: Next

WP DELETE TEXT BOX

WP DELETE TEXT BOX ( textBox )

ParameterTypeDescription
textBoxObject🡒Text box

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