WP DELETE TEXT BOX
WP DELETE TEXT BOX ( textBox )
Parameter | Type | Description | |
---|---|---|---|
textBox | Object | → | Text 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)