home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP5_17.PRG ⌐ª
- *⌐ª Function: ▓╦╡Ñ╤í╧ε╠⌡╝■╓┤╨╨╡─╖╢└². ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- CLEAR ALL
- CLEAR
-
- mydata=LOCFILE("customer","DBF"," ╟δ╒╥╡╜╩²╛▌┐Γ customer.dbf ▓ó╤í╚í╦ⁿ")
- USE (mydata)
-
- DEFINE MENU mainmenu
- DEFINE PAD dataedit OF mainmenu PROMPT "\<1.╩²╛▌┐Γ▒α╝¡"
- DEFINE PAD datareport OF mainmenu PROMPT "\<2.┤≥╙í▒¿▒φ "
- DEFINE PAD datalabel OF mainmenu PROMPT "\<3.┤≥╙í╙╩╝─▒Ω╟⌐"
- ON PAD dataedit OF mainmenu ACTIVATE POPUP datapop
- ON PAD datareport OF mainmenu ACTIVATE POPUP dataprt
-
- DEFINE POPUP datapop SHADOW
- DEFINE BAR 1 OF datapop PROMPT "\<1. ╘÷╝╙╝╟┬╝ "
- DEFINE BAR 2 OF datapop PROMPT "\<2. ╔╛│²╝╟┬╝ "
- DEFINE BAR 3 OF datapop PROMPT "\<3. ╨▐╕─╝╟┬╝ "
- ON SELECTION POPUP datapop DO subroute1 WITH BAR()
-
- DEFINE POPUP dataprt SHADOW
- DEFINE BAR 1 OF dataprt PROMPT "\<1. ╫╩▓·╕║╒«▒φ "
- DEFINE BAR 2 OF dataprt PROMPT "\<2. ╦≡╥µ▒φ"
- DEFINE BAR 3 OF dataprt PROMPT "\<3. ┤½╞▒"
- ON SELECTION POPUP dataprt DO subroute2 WITH BAR()
-
- * ╔Φ╢¿╓≈╤í╧ε dataedit ╓╗╙╨ CUSTOMER.DBF ╥╤┤≥┐¬▓┼┐╔╤í
- SET SKIP OF PAD dataedit OF mainmenu !USED("customer")
-
- * ╔Φ╢¿╓≈╤í╧ε datalabel ▓╗┐╔╤í
- SET SKIP OF PAD datalabel OF mainmenu .T.
-
- * ╔Φ╢¿╫╙╤í╧ε dataprt ╓╗╙╨┤≥╙í╗·╥╤┤≥┐¬╟╥╘┌ ON-LINE ╫┤╠¼▓┼┐╔╤í
- SET SKIP OF POPUP dataprt SYS(13)="OFFLINE"
-
- ACTIVATE MENU mainmenu
-
- PROCEDURE subroute1
- PARAMETER mbar1
- DEFINE WINDOW mywin ;
- FROM INT((SROW()-15)/2),INT((SCOL()-57)/2) ;
- TO INT((SROW()-15)/2)+14,INT((SCOL()-57)/2)+56 ;
- TITLE " ╩²╛▌┐ΓΣ»└└┤░┐┌ " ;
- GROW ;
- FLOAT ;
- CLOSE;
- MINIMIZE ;
- SHADOW ;
- ZOOM ;
- COLOR SCHEME 8 DOUBLE
- DO CASE
- CASE mbar1=1
- CHANGE NODELETE NOEDIT WINDOW mywin
- CASE mbar1=2
- CHANGE NOAPPEND NODELETE WINDOW mywin
- CASE mbar1=3
- CHANGE NOAPPEND NOEDIT WINDOW mywin
- ENDCASE
- RELEASE WINDOWS mywin
-
- PROCEDURE subroute2
- PARAMETER mbar2
- @ 24,24 SAY "<< ▒º╟╕! ╔╨╬┤╜¿┴ó, ╟δ░┤╚╬╥╗╝ⁿ╝╠╨° >>"
- =INKEY(10,"HM")
- @ 24,00 CLEAR
- RETURN