General information
Category:
Forms & Form designer
Title:
LostFocus and SetFocus
Hi
I have a textbox containg some validation code and then further code in th LostFocus. The code in LostFocus will do a couple of SetFocus depending on CASE statement.
The problem is if I try to SetFocus to the original textbox containing this LostFocus. I have tried "THISFORM.textbox.SetFocus", "THIS.SetFocus" but I can't get the focus to stay with the textbox, it always moves to the next object.
Anyone with ideas?
Regards
Doug Johnston
P.S. I can't put the code in the valid because of all the SetFocus that have to done.
Next
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