|
-
Feb 20th, 2000, 08:42 AM
#1
Thread Starter
Addicted Member
Hello, i have some code that i am working on. I've simplified it greatly below to simulate my problem. If you open up a new project <standard Exe>, place a button and a text box on the form and put the following code in the form code.
Private Sub Command1_Click()
MsgBox "click"
End Sub
Private Sub Text1_LostFocus()
MsgBox "lost focus"
End Sub
Then if you place the cursor in the text box and click on the button you see "lost focus" and then nothing. What i want <and would expect to see> is "lost focus" and then "click".
Can anyone help me as to why the "click" event is being lost in this situation? Does the raising of the lostfocus event mean that no other events are triggered?
I really need to find out why this is happening and what i can do about it so if anyone can help, it would be very appreciated.
Thanks,
Mark
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
|