Fabio,
1. Wontop(Thisform.Name) is necessary. When user clicks on another form other than the screen, before Text1.LostFocus fires, Wontop(Thisform.Name) is already .F.
2. You may move your Valid code into LostFocus to make sure Mdown() works.
Ben
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only