This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
WP DELETE TEXT BOX

WP DELETE TEXT BOX 


 

WP DELETE TEXT BOX ( textBox ) 
Parameter Type   Description
textBox  Object in Text box

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

 
PROPERTIES 

Product: 4D
Theme: 4D Write Pro Language
Number: 1798

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v19 R8

 
ARTICLE USAGE

4D Write Pro Reference ( 4D v20 R7)