home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP9_1.PRG ⌐ª
- *⌐ª Function: ╔Φ╓├╤╒╔½╝»╖╢└². ⌐ª
- *⌐ª DBF & File: PERSONAL.DBF ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET SAFETY OFF
- SET MESSAGE TO 24 CENTER
-
- CLEAR
- DO WHILE .T.
- ON KEY LABEL Ctrl+F1 QUIT
- * ╢¿╥σ═╦│÷│╠╨≥╡─╣ª─▄╝ⁿ: Ctrl+F1
- DO SELECOLR
- ENDDO
- ON KEY LABEL
- RETURN
-
- PROCEDURE SELECOLR
- USE PERSONAL
- * ╢¿╥σ╥╗╕÷▓╦╡Ñ menu
- DEFINE POPUP POP1_2 MARGIN FROM 6,26 MARK CHR(251);
- MESSAGE " ╙├ [Enter] ╝ⁿ╥╘╚╖╢¿╥¬╤í╘±╡─╤╒╔½╝» " SHADOW
-
- DEFINE BAR 1 OF POP1_2 PROMPT " ╤╒╔½╝»╔Φ╓├▓╦╡Ñ" SKIP
- DEFINE BAR 2 OF POP1_2 PROMPT "\-"
- DEFINE BAR 3 OF POP1_2 PROMPT "\<1.╤╒╔½╝» DEFUALT (╙Φ╔Φ)"
- DEFINE BAR 4 OF POP1_2 PROMPT "\<2.╤╒╔½╝» COMPQ_COLO"
- DEFINE BAR 5 OF POP1_2 PROMPT "\<3.╤╒╔½╝» COMPQ_MONO"
- DEFINE BAR 6 OF POP1_2 PROMPT "\<4.╤╒╔½╝» COLOR"
- DEFINE BAR 7 OF POP1_2 PROMPT "\<5.╤╒╔½╝» MONOCHROME"
- DEFINE BAR 8 OF POP1_2 PROMPT "\<6.╤╒╔½╝» T5200_COLO"
- DEFINE BAR 9 OF POP1_2 PROMPT "\<7.╤╒╔½╝» T5200_MONO"
- DEFINE BAR 10 OF POP1_2 PROMPT "\<8.╤╒╔½╝» TOSH_3200"
- ON SELECTION POPUP POP1_2 DO COLORSET WITH PROMPT()
- * ╤í╘±║≤╓┤╨╨╫╙│╠╨≥ COLORSET
-
- ACTIVATE POPUP POP1_2
- DEACTIVATE POPUP POP1_2
- CLOSE DATABASE
- RETURN
-
- PROCEDURE COLORSET
- PARAMETER MPROMPT
- * ╝∞▓Θ╤í╧ε╡─│⌡╩╝╫┤╠¼▓ó╝╙╫ó▒Ω╝╟
- FOR I=1 TO CNTBAR("POP1_2")
- DO CASE
- CASE PRMBAR("POP1_2",I)="1.╤╒╔½╝» DEFUALT (╙Φ╔Φ)"
- SET MARK OF BAR I OF POP1_2 TO .F.
- CASE PRMBAR("POP1_2",I)="2.╤╒╔½╝» COMPQ_COLO"
- SET MARK OF BAR I OF POP1_2 TO .F.
- CASE PRMBAR("POP1_2",I)="3.╤╒╔½╝» COMPQ_MONO"
- SET MARK OF BAR I OF POP1_2 TO .F.
- CASE PRMBAR("POP1_2",I)="4.╤╒╔½╝» COLOR"
- SET MARK OF BAR I OF POP1_2 TO .F.
- CASE PRMBAR("POP1_2",I)="5.╤╒╔½╝» MONOCHROME"
- SET MARK OF BAR I OF POP1_2 TO .F.
- CASE PRMBAR("POP1_2",I)="6.╤╒╔½╝» T5200_COLO"
- SET MARK OF BAR I OF POP1_2 TO .F.
- CASE PRMBAR("POP1_2",I)="7.╤╒╔½╝» T5200_MONO"
- SET MARK OF BAR I OF POP1_2 TO .F.
- CASE PRMBAR("POP1_2",I)="8.╤╒╔½╝» TOSH_3200"
- SET MARK OF BAR I OF POP1_2 TO .F.
- ENDCASE
- ENDFOR
-
- DO CASE
- CASE MPROMPT="1.╤╒╔½╝» DEFUALT (╙Φ╔Φ)"
- * ╚τ╣√╤í╘±╛═╝╙╫ó▒Ω╝╟
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFAULT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO DEFAULT
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- CASE MPROMPT="2.╤╒╔½╝» COMPQ_COLO"
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFUALT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO COMPQ_COLO
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- CASE MPROMPT="3.╤╒╔½╝» COMPQ_MONO"
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFUALT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO COMPQ_MONO
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- CASE MPROMPT="4.╤╒╔½╝» COLOR"
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFUALT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO COLOR
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- CASE MPROMPT="5.╤╒╔½╝» MONOCHROME"
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFAULT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO MONOCHROME
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- CASE MPROMPT="6.╤╒╔½╝» T5200_COLO"
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFAULT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO T5200_COLO
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- CASE MPROMPT="7.╤╒╔½╝» T5200_MONO"
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFAULT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO T5200_MONO
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- CASE MPROMPT="8.╤╒╔½╝» TOSH_3200"
- IF MRKBAR("POP1_2",BAR())
- SET COLOR SET TO DEFAULT
- SET MARK OF BAR BAR() OF POP1_2 TO .F.
- ELSE
- SET COLOR SET TO TOSH_3200
- SET MARK OF BAR BAR() OF POP1_2 TO .T.
- ENDIF
- ENDCASE
-
- BROW
- WAIT WINDOW " ╙├<-, ->╝ⁿ╧╘╩╛╨┬╡─▓╦╡Ñ╤╒╔½, ╙├ [Ctrl+F1]═╦│÷│╠╨≥, ╖╡╗╪ DOS ";
- NOWAIT
- RETURN