Close Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In the child form of an MDI, I'd like to be able to close the child form
within the Form_Load event if I need to. However, if I issue this.close()
inside the chikld Form_Load event, I get an exception: Cannot call Close()
while doing CreateHandle().

How can I accomplish this?

Thanks,
John F
 

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