The WP DELETE TEXT BOX command deletes the text box defined by the textBox parameter.
 If textBox does not exist, the command does nothing.
You want to delete a text box using its ID:
  var $myTextBox : Object
 
  
 $myTextBox:=WP Get element by ID(myDoc;"AddressBox")
 
  
 WP DELETE TEXT BOX($myTextBox)