>>I have created a custom messagebox class which functions as a drop in replacement for MESSAGEBOX in a touch screen application. The problem is that when I fire my message box, it causes valid, lostfocus, etc. to fire while if I call MESSAGEBOX none of these things happen.
>>
>>I've been able to work around it in the past, but I've got a sticky situation going with some new code, and I am wondering if there is some way of making a custom VFP form work the same way as the message box does in relation to the events that are triggered when I display it?
>
>Your code could reset some property (in form or application object) that will block code in all other events (form.activate,control.lostfocus etc).
I am working on that approach right now. It would sure be cleaner if I could create a true replacement for messagebox, though.