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.
SET SYSMENU TO
SET SYSMENU AUTOMATIC
DEFINE PAD _10p0c5tul OF _MSYSMENU PROMPT "System" COLOR SCHEME 3 ;
KEY ALT+S, ""
DEFINE PAD _10p0c5tum OF _MSYSMENU PROMPT "File" COLOR SCHEME 3 ;
KEY ALT+F, ""
DEFINE PAD _10p0c5tun OF _MSYSMENU PROMPT "Windows" COLOR SCHEME 3 ;
KEY ALT+W, ""
ON PAD _10p0c5tum OF _MSYSMENU ACTIVATE POPUP file
DEFINE POPUP file MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF file PROMPT "File #2"
DEFINE BAR 2 OF file PROMPT "File #3"
ON BAR 2 OF file ACTIVATE POPUP file3
DEFINE POPUP file3 MARGIN RELATIVE SHADOW COLOR SCHEME 4
DEFINE BAR 1 OF file3 PROMPT "Sub File #1"
PUBLIC oform1
oform1=NEWOBJECT("form1")
oform1.Show
RETURN
DEFINE CLASS form1 AS form
Top = 600
Left = 1
Height = 27
Width = 663
DoCreate = .T.
Caption = "Form1"
TitleBar = 0
Name = "Form1"
ADD OBJECT command1 AS commandbutton WITH ;
Top = 0, ;
Left = 0, ;
Height = 27, ;
Width = 84, ;
Caption = "Start", ;
Name = "Command1"
PROCEDURE popup
DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
DEFINE BAR 1 OF shortcut PROMPT "Link1"
DEFINE BAR 2 OF shortcut PROMPT "Link2"
DEFINE BAR 3 OF shortcut PROMPT "Link3"
DEFINE BAR 4 OF shortcut PROMPT "Link4"
ON BAR 4 OF shortcut ACTIVATE POPUP link4
DEFINE POPUP link4 SHORTCUT RELATIVE
DEFINE BAR 1 OF link4 PROMPT "subLink1"
DEFINE BAR 2 OF link4 PROMPT "SubLink2"
ACTIVATE POPUP shortcut
ENDPROC
PROCEDURE Init
ENDPROC
PROCEDURE command1.Click
thisform.popup
ENDPROC
ENDDEFINE