LostFocus event does not work when pressing the menubar
Posted on 2002-05-29
Here is an example to show my problem.
1. Open a new project
2. Add a 1st textbox control named Text1
3. Add a 2nd textbox control named Text2
3. Add a menu item by menu editor and named it Test and mnuTest
Private Sub mnuTest_Click()
MsgBox "Test Menu is clicked"
Private Sub Text1_LostFocus()
Private Sub Text2_LostFocus()
My question is:
How can the LostFocus event be run when click on the menubar? For some reason, the LostFocus event should be run in my project. I'm pleased to have any idea / workaround.