# Remove textbox?

**URL:** <https://forum.kirupa.com/t/remove-textbox/312449>\
**Category:** Uncategorized\
**Created:** [August 3, 2010, 6:27pm UTC](https://forum.kirupa.com/t/remove-textbox/312449 "2010-08-03T18:27:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackout188](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@blackout188](https://forum.kirupa.com/u/blackout188)\
**Post date:** [August 3, 2010, 6:27pm UTC](https://forum.kirupa.com/t/remove-textbox/312449/1 "2010-08-03T18:27:05Z")

</div>

The following code are used to generate textboxes, but I couldn’t find a way to remove them, I tried removeChild but it did not work out. all help appreaciated.

```auto

 
for (var i:uint=2; i<colum; i++) {
    textBoxArray* =new Array();
    for (var j:uint=3; j<row; j++) {
     textBox = new TextField();
     textBox.x = (textBox.width-70)* j;
     textBox.y = (textBox.height-70)* i;
     textBoxArray*[j]=textBox;
     addChild(textBox);
    }
   }

```
