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 oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form
DoCreate = .T.
Caption = "Form1"
Name = "Form1"
ADD OBJECT check1 AS checkbox WITH ;
Top = 72, ;
Left = 156, ;
Height = 17, ;
Width = 60, ;
Caption = "Check1", ;
Value = .F., ;
Name = "Check1"
ADD OBJECT command1 AS commandbutton WITH ;
Top = 156, ;
Left = 156, ;
Height = 27, ;
Width = 84, ;
Caption = "Command1", ;
Name = "Command1"
PROCEDURE command1.Click
thisform.check1.Value = !thisform.check1.Value
ENDPROC
ENDDEFINE