home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / database / members.zip / MDKEYSET.PRG < prev    next >
Text File  |  1986-10-16  |  2KB  |  54 lines

  1. *----------------------------------------------------------------------
  2. * Program : Membership Database Package
  3. * File    : MDKEYSET
  4. * Function: Sets Function Keys with User Text
  5. * Author  : J. North        
  6. * Version : (AT contest)
  7. * Date    : 10/15/86
  8. *----------------------------------------------------------------------
  9. *
  10. use mdkeys
  11. clear
  12. @  1,  0  to  1, 79    double
  13. @  3,  0  to  3, 79    double
  14. @ 19,  0  to 19, 79    double
  15. @ 21,  0  to 24, 79  
  16. @  2,  1  say "Function Key Text Assignment"
  17. @  5, 18  say "Key                  Text"
  18. @  6, 18  say "---    --------------------------------"
  19. @  7, 19  say "F2 --"
  20. @  8, 19  say "F3 --"
  21. @  9, 19  say "F4 --"
  22. @ 10, 19  say "F5 --"
  23. @ 11, 19  say "F6 --"
  24. @ 12, 19  say "F7 --"
  25. @ 13, 19  say "F8 --"
  26. @ 14, 19  say "F9 --"
  27. @ 15, 18  say "F10 --"
  28. @ 22,  2  say "Enter the text you want assigned to function keys F2 thru F10       - MENU -"
  29. @ 23,  2  say "in the appropriate fields above.  Press ^End to return to menu.       ^End"
  30. @ 22, 68  to 23, 68  
  31. call curson
  32. clear gets
  33. @  7,25 get f2  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  34. @  8,25 get f3  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  35. @  9,25 get f4  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  36. @ 10,25 get f5  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  37. @ 11,25 get f6  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  38. @ 12,25 get f7  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  39. @ 13,25 get f8  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  40. @ 14,25 get f9  picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  41. @ 15,25 get f10 picture "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  42. do while .T.
  43.     read save
  44.     rk=mod(readkey(),256)
  45.     if rk=14
  46.         exit
  47.     endif
  48. enddo
  49. clear gets
  50. call cursoff
  51. use
  52. do mdkeyint
  53. return
  54.