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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top