Freetutes.com

VB6 beginners tutorial - Learn VB6

Advanced VB6 tutorial - Learn Advanced VB6

Systems Analysis - System analysis and Design tutorial for Software Engineering


You are here: Visual Basic > Advanced VB6 tutorial > Chapter 6

Initialize, Load, and Activate Events

These events fire toward the beginning of the life of a form. However, the exact circumstances and timing of these events can differ. Generally, of the three "beginning" events, the Initialize event fires least often; the Activate event fires most often, while the Load event fires less often than the Activate event and more often than the Initialize event.

The Activate event fires most often (at least on a multi-form application) because the user can navigate back and forth between forms many times after the forms are loaded in memory and visible. If the form is loaded, unloaded, and re-loaded into memory several times in the application, then the form's Load event will fire at each load. The Initialize event, however, might not necessarily fire each time the form re-loads, because the form instance might not have been set to Nothing in the previous unload.


  

<< Previous | Contents | Next >>

Home | About Us | Privacy Policy | Contact Us

Copyright © Freetutes.com | All Rights Reserved