Like everyone else I hve a problem with setfocus being used in valid and when events
However, if I dump all code into the lostfocus event, it seems to solve my problems.
Are there any problems with this ??
If I wanted the textbox to setfocus back to itself, it's fine, I only need to return .F. or return 0
But if I wanted to setfocus to another control, I have problems. Can I just dump everthing into the lostfocus event and use it just like a valid event. Are there any differences ??
However, if I dump all code into the lostfocus event, it seems to solve my problems.
Are there any problems with this ??
If I wanted the textbox to setfocus back to itself, it's fine, I only need to return .F. or return 0
But if I wanted to setfocus to another control, I have problems. Can I just dump everthing into the lostfocus event and use it just like a valid event. Are there any differences ??