Could a form delete itselft

  • Thread starter Thread starter seymon.zhang
  • Start date Start date
S

seymon.zhang

Hi,
I want to let a form to run some code, after that, it will delete
itself.

Did anyone know some about that?

Seymon
 
You'll have to open another form, close the first form, then have the second
form close the first form.

Note that the second form doesn't have to be opened visibly.
 
As you said, i use form1 to open form2, and when form2 opening, it will
close form1 and delete it.

But, it is failure, the error message told that form1 is still opening

Thx

Seymon
 
Back
Top