home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / pascal / 4594 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv1!watmath!undergrad.math.waterloo.edu!napier.uwaterloo.ca!cjlee
  3. From: cjlee@napier.uwaterloo.ca (Ironman)
  4. Subject: Reading Keys without TurboVision
  5. Message-ID: <Bs5Aur.IrG@undergrad.math.waterloo.edu>
  6. Sender: news@undergrad.math.waterloo.edu
  7. Organization: University of Waterloo
  8. References: <1992Jul20.130530.1@eagle.wesleyan.edu> <9471@uqcspe.cs.uq.oz.au>
  9. Date: Wed, 29 Jul 1992 10:08:51 GMT
  10. Lines: 22
  11.  
  12. In article cspradling@eagle.wesleyan.edu writes:
  13. >>[...]
  14. >>if keypressed then
  15. >>   if readkey = chr(0) then
  16. >>      if readkey = 'K' then
  17. >>          do leftarrow
  18.  
  19. In article muzzle@cs.uq.oz.au writes:
  20. >I would suggest using the event handlers from the DRIVERS unit, so that you
  21. >have access to the kbXXXXX constants, such as kbLeft, kbUp, kbCtrlLeft, etc.
  22. >I'm sure that there will be examples of this in the DOCDEMOS directory.
  23.  
  24. The DRIVERS.INT seems to require the use of TurboVision.
  25. Can it be used WITHOUT TV?  I'm writing a very simple program
  26. that will perform better if it can respond to the Shift-key
  27. (by itself, not in combo with other keys).  I don't want
  28. to use TV if possible.
  29.  
  30. Can someone e-mail me a (simple) procedure for reading Shift, Alt,
  31. Ctrl, Print Screen, ScrLck, Pause, etc. that works with TP6?
  32.  
  33. Thanks in advance.
  34.