home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP5_14.PRG ⌐ª
- *⌐ª Function: POPUP ▓╦╡Ñ╕─▒Σ┤≤╨í╬╗╓├╡─╖╢└² ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET ESCAPE OFF
- CLEAR ALL
- CLEAR
-
- DEFINE MENU mymenu
- DEFINE PAD mypad1 OF mymenu PROMPT "\<A. ╕─ ▒Σ ┤░ ┐┌ ┤≤ ╨í "
- DEFINE PAD mypad2 OF mymenu PROMPT "\<B. ╕─ ▒Σ ┤░ ┐┌ ╬╗ ╓├ "
- ON SELECTION PAD mypad1 OF mymenu ACTIVATE POPUP newpop1
- ON SELECTION PAD mypad2 OF mymenu ACTIVATE POPUP newpop2
-
- DEFINE POPUP newpop1 FROM 1,0 TO 11,30 SCROLL SHADOW ;
- TITLE "<< ┤░┐┌╥╗ >>" COLOR SCHEME 8
- DEFINE BAR 1 OF newpop1 PROMPT " \<1.╧≥╙╥└⌐╒╣┤░┐┌"
- DEFINE BAR 2 OF newpop1 PROMPT " \<2.╧≥╙╥╧┬└⌐╒╣┤░┐┌"
- DEFINE BAR 3 OF newpop1 PROMPT " \<3.╧≥╫≤╦⌡╨í┤░┐┌"
- DEFINE BAR 4 OF newpop1 PROMPT " \<4.╧≥╫≤╔╧╦⌡╨í┤░┐┌"
- DEFINE BAR 5 OF newpop1 PROMPT " \<5.╧≥╧┬└⌐╒╣┤░┐┌"
- DEFINE BAR 6 OF newpop1 PROMPT " \<6.╧≥╔╧╦⌡╨í┤░┐┌"
- DEFINE BAR 7 OF newpop1 PROMPT " \<7.╥╞╢»┤░┐┌╓┴╫≤╔╧╜╟▓ó└⌐╓┴╫ε┤≤"
- DEFINE BAR 8 OF newpop1 PROMPT " \<8.╗╓╕┤╡╜╘¡╬╗╓├, ┤≤╨í"
- DEFINE BAR 9 OF newpop1 PROMPT " \<9.═╦│÷"
- ON SELECTION POPUP newpop1 DO subroute WITH POPUP(),BAR()
-
- DEFINE POPUP newpop2 FROM 1,30 TO 13,58 SCROLL SHADOW ;
- TITLE "<< ┤░┐┌╢■ >>" COLOR SCHEME 5
- DEFINE BAR 1 OF newpop2 PROMPT " \<1.╧≥╙╥└⌐╒╣┤░┐┌"
- DEFINE BAR 2 OF newpop2 PROMPT " \<2.╧≥╙╥╥╞╢»┤░┐┌"
- DEFINE BAR 3 OF newpop2 PROMPT " \<3.╧≥╫≤╦⌡╨í┤░┐┌"
- DEFINE BAR 4 OF newpop2 PROMPT " \<4.╧≥╫≤╥╞╢»┤░┐┌"
- DEFINE BAR 5 OF newpop2 PROMPT " \<5.╧≥╧┬└⌐╒╣┤░┐┌"
- DEFINE BAR 6 OF newpop2 PROMPT " \<6.╧≥╧┬╥╞╢»┤░┐┌"
- DEFINE BAR 7 OF newpop2 PROMPT " \<7.╧≥╔╧╦⌡╨í┤░┐┌"
- DEFINE BAR 8 OF newpop2 PROMPT " \<8.╧≥╔╧╥╞╢»┤░┐┌"
- DEFINE BAR 9 OF newpop2 PROMPT " \<9.╥╞╢»┤░┐┌╓┴╫≤╔╧╜╟"
- DEFINE BAR 10 OF newpop2 PROMPT " \<A.╗╓╕┤╡╜╘¡╬╗╓├, ┤≤╨í"
- DEFINE BAR 11 OF newpop2 PROMPT " \<B.═╦│÷"
- ON SELECTION POPUP newpop2 DO subroute WITH POPUP(),BAR()
- ACTIVATE MENU mymenu
-
- PROCEDURE subroute
- PARAMETER mPOPUP,mBAR
- DO CASE
- CASE mPOPUP="NEWPOP1"
- DO CASE
- CASE mBAR=1
- FOR I=1 TO 5
- SIZE POPUP newpop1 BY 0,1
- ENDFOR
- CASE mBAR=2
- FOR I=1 TO 5
- SIZE POPUP newpop1 BY 1,1
- ENDFOR
- CASE mBAR=3
- FOR I=1 TO 5
- SIZE POPUP newpop1 BY 0,-1
- ENDFOR
- CASE mBAR=4
- FOR I=1 TO 5
- SIZE POPUP newpop1 BY -1,-1
- ENDFOR
- CASE mBAR=5
- FOR I=1 TO 5
- SIZE POPUP newpop1 BY 1,0
- ENDFOR
- CASE mBAR=6
- FOR I=1 TO 5
- SIZE POPUP newpop1 BY -1,0
- ENDFOR
- CASE mBAR=7
- MOVE POPUP newpop1 TO 0,0
- SIZE POPUP newpop1 TO SROW(),SCOL()
- CASE mBAR=8
- SIZE POPUP newpop1 TO 10,37
- MOVE POPUP newpop1 TO 01,00
- CASE mBAR=9
- DEACTIVATE MENU mymenu
- DEACTIVATE POPUP newpop1
- RELEASE MENUS mymenu
- RELEASE POPUPS newpop1,newpop2
- ENDCASE
- CASE mPOPUP="NEWPOP2"
- DO CASE
- CASE mBAR=1
- FOR I=1 TO 5
- SIZE POPUP newpop2 BY 0,1
- ENDFOR
- CASE mBAR=2
- FOR I=1 TO 5
- MOVE POPUP newpop2 BY 0,1
- ENDFOR
- CASE mBAR=3
- FOR I=1 TO 5
- SIZE POPUP newpop2 BY 0,-1
- ENDFOR
- CASE mBAR=4
- FOR I=1 TO 5
- MOVE POPUP newpop2 BY 0,-1
- ENDFOR
- CASE mBAR=5
- FOR I=1 TO 5
- SIZE POPUP newpop2 BY 1,0
- ENDFOR
- CASE mBAR=6
- FOR I=1 TO 5
- MOVE POPUP newpop2 BY 1,0
- ENDFOR
- CASE mBAR=7
- FOR I=1 TO 3
- SIZE POPUP newpop2 BY -1,0
- ENDFOR
- CASE mBAR=8
- FOR I=1 TO 5
- MOVE POPUP newpop2 BY -1,0
- ENDFOR
- CASE mBAR=9
- MOVE POPUP newpop2 TO 0,0
- CASE mBAR=10
- SIZE POPUP newpop2 TO 10,29
- MOVE POPUP newpop2 TO 01,30
- CASE mBAR=11
- DEACTIVATE MENU mymenu
- DEACTIVATE POPUP newpop2
- RELEASE MENUS mymenu
- RELEASE POPUPS newpop1,newpop2
- ENDCASE
- ENDCASE