>On a textbox, I have some code in the valid event. Does the valid event not fire if the user clicks into another control? It always fires when I tab out or fill the control to the max number of characters, but it doesn't seem to fire if I click to another control on the form.
>
>Is there an event linkage between Lostfocus and Valid, like they one fires then the other or are they really two totally separate events?
According to the help, and confirmed in HackFox 3, for a text box the valid event always fires before a control loses the focus. Lostfocus fires when the control loses the focus.
Maybe your Valid code is returning .T. unexpectedly. Have you traced in the debugger?
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up