FIX: Incorrect Firing of LostFocus Event (223131)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q223131 SYMPTOMS
A Visual Basic 6.0 project contains two forms with Form1 containing a TextBox and a CommandButton. The LostFocus event of the TextBox displays a second form as modal. When you run the project and click the CommandButton, the modal form appears and the CommandButton Click event fires, but should not.
REFERENCES
A similar bug behavior is documented in the following article in the Microsoft Knowledge Base:
223101 FIX: WriteProperties Event Executes at Wrong Time
For more information, see the following topics:
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbActivexEvents kbBug kbfix kbVS600sp3fix KB223131 |
---|
|