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.
Function FileDlgFunc(identifier$, action, suppvalue)
Select Case action
Case 1
DlgVisible "Cancel",0
DlgVisible "OK",0
Case 2
If DlgValue("OG1") = 1 Then
DlgFocus "OK"
SendKeys " "
End If
If DlgValue("OG1") = 2 Then
DlgFocus "Cancel"
SendKeys " "
End If
End Select
End Function
Sub Main
Begin Dialog Dialog1 1,1, 100, 20, "DialogBox", .FileDlgFunc
OptionGroup .OG1
OptionButton 5, 5, 1, 1, "", .OB1
OptionButton 5, 5, 40, 10, "Start", .OB2
OptionButton 45, 5, 40, 10, "End", .OB3
CancelButton 1,1,1,1,.Cancel
PushButton 1,1,1,1,"",.OK
End Dialog
Dim MyDialog as Dialog1
On Error Resume Next
Dialog MyDialog
If Err Then MsgBox "Cancel" Else MsgBox "OK"
End Sub