|
-
Feb 20th, 2000, 09:24 AM
#2
Hyperactive Member
That is exactly the behaviour I had on mine.
It seems as if VB can't handle more than one MsgBox at a time.
Use an indirect method: try to declare a global boolean variable like "FocusLost" and asign it the value "true" in Text1.LostFocus event, and then on Command1.Click event put this code (or something similar):
-----
If FocusLost = True Then MsgBox "Lost Focus and Click"
Else MsgBox "Click Only"
LostFocus = False 'to reset the variable
End IF
-----
Got the picture? Good Luck!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|