>I have a dropdown list. It has code in its Valid event. If I subclass the Lostfocus event and put any code in it whatsoever, even something as simple as SET STEP ON, when I change value in the list, the Valid is skipped and Lostfocus fires?
>
>Any ideas what might be going on here?
>
>Thanks,
I just did a little test, and valid fires before lostfocus. In my own experience, VALID is, at the least, difficult to understand and seems to have a mind of its own.
FWIW: I use WHEN to constrain access to the higher tabstops, and lostfocus to validate the current control.
.txtTabOne.Lostfocus
*** check to make sure value is okay
*** if not okay, blank or empty .txtTabOne.Value and then .txtTabOne.Setfocus
.txtTabTwo.When
return !empty(.txtTabOne.Value)
Imagination is more important than knowledge