WP DELETE TEXT BOX
WP DELETE TEXT BOX ( textBox : Object )
| Parameter | Type | Description | |
|---|---|---|---|
| textBox | Object | → | 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
Properties
| Command number | 1798 |
| Thread safe | yes |