[ RemoveHandler ] Needed ?

  • Thread starter Thread starter teo
  • Start date Start date
T

teo

Hallo,

I have used many time the AddHandler method (becuse I'm
buildin an array of controls).

Now I 'd like to know if I have to use the
RemoveHandler method.

In fact I use the array of control till I close my app,
and I think that when my app close,
all the AddHandler are automatically "discarded".

Any idea about the "need" of the RemoveHandler?
 
Teo,

No there is no need to remove the handlers when you are closing your
program.

I hope this helps,

Cor
 
Thanks.

Another array question.

My array was declared as follow
Dim myArray (10)

on closing the app I have to
dscard it (like myArray = nothing or similar)
or there is no need to discard it
because it is discarded automatically?
 
Back
Top