home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP11_6.PRG ⌐ª
- *⌐ª Function: ON KEY LABEL ├ⁿ┴ε╙ª╙├╡─╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET ESCAPE OFF
- DEFINE WINDOW win FROM 20,2 TO 24,77 ;
- FOOTER "ON KEY LABEL ▓Γ╩╘" ;
- TITLE " ╨┼╧ó┤░┐┌ " ;
- DOUBLE ;
- SHADOW ;
- COLOR SCHEME 7
- * ╢¿╥σ╣ª─▄╝ⁿ F2,F3,F4,F5 ╓┤╨╨╡─╫╙│╠╨≥
- ON KEY LABEL F2 DO subroute1
- ON KEY LABEL F3 DO subroute2
- ON KEY LABEL F4 DO subroute3
- ON KEY LABEL F5 DO subroute4
-
- CLEAR
- DO WHILE .T.
- @ 1,1 TO 3,78 DOUBLE
- @ 21,1 TO 23,78 PANEL
- @ 22,15 SAY "F2 ╘÷╝╙╝╟┬╝ F3 ╨▐╕─╝╟┬╝ F4 ╔╛│²╝╟┬╝ F5 ┤≥╙í╝╟┬╝"
- @ 2,04 PROMPT "\<1.┤½ ╞▒ ╩² ╛▌"
- @ 2,18 PROMPT "\<2.┐═ ╗º ╩² ╛▌"
- @ 2,32 PROMPT "\<3.╔╠ ╞╖ ╩² ╛▌"
- @ 2,46 PROMPT "\<4.╦░ ╬± ╩² ╛▌"
- @ 2,60 PROMPT "\<5.╘╙ ╧ε ╦╡ ├≈"
- MENU TO choice
- DO CASE
- CASE choice=0
- DO getout
- CASE choice=1
- DO subroute
- CASE choice=2
- DO subroute
- CASE choice=3
- DO subroute
- CASE choice=4
- DO subroute
- CASE choice=5
- DO subroute
- ENDCASE
- ENDDO
-
- PROCEDURE subroute1
- DO subroute
- RETURN
-
- PROCEDURE subroute2
- DO subroute
- RETURN
-
- PROCEDURE subroute3
- DO subroute
- RETURN
-
- PROCEDURE subroute4
- DO subroute
- RETURN
-
- PROCEDURE subroute
- SET CURSOR OFF
- ACTIVATE WINDOW win
- @ 1,10 SAY " ▒º╟╕! ╔╨╬┤╜¿┴ó "
- WAIT " ╟δ░┤╚╬╥╗╝ⁿ╝╠╨° " WINDOW
- DEACTIVATE WINDOW win
- SET CURSOR ON
- RETURN
-
- PROCEDURE getout
- STORE "N" TO ans
- ACTIVATE WINDOW win
- @ 1,10 SAY "╚╖╢¿╩╟╖±═╦│÷?(Y/N) " GET ans PICTURE "!Y"
- READ
- IF ans="Y"
- CLEAR WINDOWS
- CLEAR ALL
- CLEAR
- CANCEL
- ELSE
- DEACTIVATE WINDOW win
- ENDIF
- RETURN