>HI Bob,
>Funny, The last sentence in your message says:
>>once message box is clear the button click event code will fire.
>This is the problem: it does not! my whish is that it would (and common sence says it should.)
>Remember: The valid event is triggered by the lostfocus event. (agee), but the next event that should fire is the click event of the button that caused the lostfocus event. This normally happens indeed, but if there is a messagebox before the click event, the event is never fired. I would classify this as a bug in foxpro. wouldn't you agree?
>KR. Wim.
You are right the code does not fire after the messagebox is cleared. From what I have seen though, this is pretty much standard windows behavior. If your valid event contains any sort of user interface, the user event that triggered the valid event is cleared from the stack.
Erik Moore
Clientelligence