>nothing I thought would work did. The ThisForm.LostFocus() event doesn't fire when the user changes to another application, only when they change to another form within a vfp app. ThisForm.DeActivate() works the same way. I couldn't find any events at the _VFP level that would do this. I'm not sure a Windows API call would do it either, since VFP doesn't appear to be able to sense it.
>
>Foxheads, how are you doing this?
Jerry,
Let me ask you why the
heck you'd want to do this in the first place? You are saying that just because I want to switch over and check my email or work on a spreadsheet that the VFP app I'm using
must terminate? That's pretty anti-windows behavior. System-Modal behavior was outlawed starting with Win32.