Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
VFP Help said:The Activate and Deactivate events occur only when you are moving the focus within an application. Moving focus to or from a form in another application does not trigger either event.
I would read that to mean another app i.e. word, another exe etc.Moving focus to or from a form in another application does not trigger either event.
I would read that to mean another app i.e. word, another exe etc.
outside main vfp-window
***In your “Menu” form’s Activate Event:
For x = 1 To _Screen.FormCount
If _Screen.Forms(x).Caption <> This.Caption
_Screen.Forms(x).Enabled = .F.
Endif
Endfor
Set Skip Of Menu _Msysmenu .T.
***In the query unload of the "Menu" form
For x = 1 To _Screen.FormCount
If _Screen.Forms(x).Caption <> This.Caption
_Screen.Forms(x).Enabled = .T.
Endif
Endfor
Set Skip Of Menu _Msysmenu .F.
*Menuform.Deactivate()
For x = 1 To _Screen.FormCount
If _Screen.Forms(x).Caption <> This.Caption
_Screen.Forms(x).Enabled = .T.
Endif
Endfor
Set Skip Of Menu _Msysmenu .F.
Thisform.release