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 spinner1 AS spinner WITH ;
Height = 25, ;
Left = 120, ;
SpinnerHighValue = 9.00, ;
SpinnerLowValue = 1.00, ;
Top = 72, ;
Width = 145, ;
Value = 1, ;
Name = "Spinner1"
ADD OBJECT command1 AS commandbutton WITH ;
Top = 132, ;
Left = 144, ;
Height = 27, ;
Width = 84, ;
Caption = "Click for value", ;
Name = "Command1"
PROCEDURE command1.Click
MESSAGEBOX("The value of the spinner is "+TRANSFORM(thisform.spinner1.value))
ENDPROC
ENDDEFINE