hammerhead 19 Posting Whiz in Training

I have created a custom control that can be added or removed from a form. On the form, I maintain a list of the created controls using an ArrayList. On the delete button of the control I have coded

this.dispose();

It results in successful deletion of the control from the form but not from the ArrayList. Creating a new instance of the form dosn't help either.

I need to retrieve the existing instance of the form and use the

Form.ArrayList.removeat(this.index)

(index is already defined as a property that correspondes to the index in the ArrayList) method. Any help would be greatly appreciated. Other methods to do the same are also welcome.