PRB: VB Form_Load Procedure Not Executed when Unload Not Used (76629)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q76629 SYMPTOMS
Code inside a Form_Load event procedure will not execute under the
circumstances described in this article. The example below helps clarify
the behavior of the Load event procedure.
CAUSE
A Load event procedure executes only when a form is loaded, either with the
Load statement or an implicit load. An implicit load is caused when a form
is currently not loaded, and a property or method accesses the form or
associated control.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbprb KB76629 |
---|
|