Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Unload a form from it's Load Event? 1

Status
Not open for further replies.

Rissole

MIS
Jul 10, 2002
21
US
Hello,

How can I unload a form from its Load Event?

Thanks in Advance,
Rissole.
 
You don't ... because it isn't loaded yet and won't be until the Form_Load completes.

That said, take the code that's doing the "Unload Me" and move it to the Form_Activate event. By the time Activate fires the form IS loaded and can be unloaded with no problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top