home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP17_2.PRG ⌐ª
- *⌐ª Function: ╩╣╙├╧╡═│─┌┤µ▒Σ┴┐ _DBLCLIK ▓Γ╩╘╩╣╙├╒▀░┤┴╦╥╗┤╬, ⌐ª
- *⌐ª ┴¼╨°┴╜┤╬╗≥┴¼╨°╚²┤╬╩≤▒Ω╡─╫≤░┤┼ñ╡─╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET ESCAPE OFF
-
- DEFINE WINDOW mywin FROM 5,5 TO 21,75 ;
- TITLE " ▓Γ╩╘░┤┴╦╥╗┤╬, ┴¼╨°┴╜┤╬╗≥╚²┤╬╩≤▒Ω╡─╫≤░┤┼ñ " ;
- SHADOW COLOR SCHEME 7
- ACTIVATE WINDOW mywin
- CLEAR
-
- @ WROWS()/2-2,0 SAY PADC(" ╟δ░┤╚╬╥╗╝ⁿ╗≥┴¼╨°┴╜┤╬░┤╩≤▒Ω╡─╫≤░┤┼ñ"+;
- "╥╘┐¬╩╝▓Γ╩╘",WCOLS())
- @ WROWS()/2, 0 SAY PADC("░┤╝ⁿ╓╡╙δ╩≤▒Ω╣Γ▒Ω╡─╬╗╓├,"+;
- " ┐╔░┤ [ESC] ╝ⁿ═╦│÷. ",WCOLS())
- catch1=0
- DO WHILE .T.
- catch1=INKEY(0.05,"HM")
- DO CASE
- CASE catch1=0 && ╬┤░┤╚╬║╬╝ⁿ╗≥╩≤▒Ω╡─╫≤░┤┼ñ
- LOOP
- CASE catch1=27 && ░┤┴╦ [ESC] ╝ⁿ
- EXIT
- CASE catch1=151
- ROW=MROW()
- COL=MCOL()
- timewait=SECONDS()+_DBLCLICK
- catch2=0
- DO WHILE SECONDS() < timewait
- catch2=INKEY("HM")
- IF catch2=151
- catch3=0
- DO WHILE SECONDS() < timewait+_DBLCLICK
- catch3=INKEY("HM")
- * ░┤╚²┤╬╩≤▒Ω╡─╫≤░┤┼ñ
- IF catch3=151 AND COL <> -1 AND ROW <> -1
- CLEAR
- @ 7,11 SAY "─π╙┌┤░┐┌╓╨╫∙▒Ω (╨╨:"
- ?? ALLTRIM(STR(ROW))+",┴╨:" ;
- +ALLTRIM(STR(COL))+") ┴¼╨°░┤╚²┤╬╩≤▒Ω╡─╫≤░┤┼ñ"
- EXIT
- ENDIF
- IF catch3=151 AND (COL = -1 OR ROW = -1)
- CLEAR
- @ 7,11 SAY "─π╙┌┤░┐┌═Γ┴¼╨°░┤╚²┤╬╩≤▒Ω╡─╫≤░┤┼ñ"
- EXIT
- ENDIF
- ENDDO
- * ░┤┴╜┤╬╩≤▒Ω╡─╫≤░┤┼ñ
- IF catch3=0 AND COL <> -1 AND ROW <> -1
- CLEAR
- @ 7,11 SAY "─π╙┌┤░┐┌╓╨╫∙▒Ω (╨╨:"
- ?? ALLTRIM(STR(ROW))+",┴╨:" ;
- +ALLTRIM(STR(COL))+") ┴¼╨°░┤┴╜┤╬╩≤▒Ω╡─╫≤░┤┼ñ"
- EXIT
- ENDIF
- IF catch3=0 AND (COL = -1 OR ROW = -1)
- CLEAR
- @ 7,17 SAY "─π╙┌┤░┐┌═Γ┴¼╨°░┤┴╜┤╬╩≤▒Ω╡─╫≤░┤┼ñ"
- EXIT
- ENDIF
- EXIT
- ENDIF
- ENDDO
- * ╙┌┤░┐┌╓╨░┤╥╗┤╬╩≤▒Ω╡─╫≤░┤┼ñ
- IF catch2=0 AND COL <> -1 AND ROW <> -1
- CLEAR
- @ 7,11 SAY "─π╙┌┤░┐┌╓╨╫∙▒Ω (╨╨:"
- ?? ALLTRIM(STR(ROW))+",┴╨" ;
- +ALLTRIM(STR(COL))+") ░┤╥╗┤╬╩≤▒Ω╡─╫≤░┤┼ñ"
- LOOP
- ENDIF
- * ╙┌┤░┐┌═Γ░┤╥╗┤╬╩≤▒Ω╡─╫≤░┤┼ñ ñ
- IF catch2=0 AND (COL = -1 OR ROW = -1)
- CLEAR
- @ 7,17 SAY "─π╙┌┤░┐┌═Γ░┤╥╗┤╬╩≤▒Ω╡─╫≤░┤┼ñ"
- LOOP
- ENDIF
- ENDCASE
- ENDDO
- CLEAR WINDOWS
- SET TALK ON