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.
*Credit for this method must be given to the following:
*Fred Taylor - ElZorro 4/10/2001 www.elzorro.org
*with thanks to "Michel Roy" roym@jonar.com from the
*News Group microsoft.public.fox.programmer.exchange
*
* In your main program:
_Screen.AddObject("oResizer", "Resizer")
DEFINE CLASS Resizer AS Custom
oScreen = _Screen
KeyPreview = .t.
PROCEDURE oScreen.Resize
WAIT window "Resizing" NOWAIT
ENDPROC
FUNCTION oScr.Click && Works
WAIT WINDOW NOWAIT "_SCREEN.Click"
ENDFUNC
FUNCTION oScr.DblClick && Works
* Note that Click fires first!
WAIT WINDOW NOWAIT "_SCREEN.DblClick"
ENDFUNC
PROCEDURE oScr.KeyPress && Works
LPARAMETERS nKeyCode, nShiftStat, nKeyCode, nShiftStat
ENDPROC
PROCEDURE oScr.QueryUnload
NODEFAULT && Hmmm, doesn't work like a form's does.
WAIT WINDOW NOWAIT "QueryUnload!"
ENDPROC
PROCEDURE oScr.RightClick && Works
DO testmenu.mpr
ENDPROC
*-------------------------------
PROCEDURE oScr.MyMethod && Works
* This fires on _SCREEN.MyMethod() !!
wait window "my method fired!"
ENDPROC
ENDDEFINE