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.
Public oHandler
oHandler=Newobject("ClickHandler")
With _Screen
.AddObject('cmdStart', 'commandbutton')
Bindevent(_Screen.cmdStart,"Click",oHandler,"myClick")
With .cmdStart
.Caption = "Start"
.Top = 10
.Left = 10
.Height = 27
.Visible = .T.
Endwith
Return
Endwith
Define Class ClickHandler As Session
Procedure myClick
Messagebox("Hello Mum")
Return
Enddefine
LPARAMETER oFoxcode
oFoxcode.valuetype="V"
messagebox([Hello Eric])
*do c:\MyPath\MyProg\Main.prg
RETURN chr(42)+[ Eric's Main.prg was launched]