home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / pascal / 7686 < prev    next >
Encoding:
Internet Message Format  |  1992-12-25  |  1.4 KB

  1. Path: sparky!uunet!haven.umd.edu!mimsy!nocusuhs!nmrdc1!frmug!lill!vanney.raphael
  2. From: vanney.raphael@lill.frmug.fr.mugnet.org (Vanney Raphael)
  3. Newsgroups: comp.lang.pascal
  4. Subject: HOW TO GET KEYS
  5. Message-ID: <1028.6.uupcb@lill.frmug.fr.mugnet.org>
  6. Date: 23 Dec 92 21:48:00 GMT
  7. Reply-To: vanney.raphael@lill.frmug.fr.mugnet.org (Vanney Raphael)
  8. Organization: Li'LL BBS - Paris, France
  9. Lines: 29
  10.  
  11. AM>Hi everyone, I have a question. I need to know if there is some
  12. simple
  13. AM>way to do the following. I want to pass as a parameter to a procedure
  14. AM>that will indicate what keypresses are valid. I am doing this already
  15. AM>for regular keys, but I need to be able to list regular keys as well
  16. as
  17. AM>extended key(mostly function keys).
  18.  
  19. AM>I do like so,
  20.  
  21. AM>Command_Keys : Set of Char ['Q', 'A', 'K'];
  22. AM>Is there a way to add extended keys to the above.
  23.  
  24. AM>Andrew.                      Andrew.Makiejewski@canrem.com
  25.  
  26. Hi !
  27.  
  28. Well, as long as extended keys are treated by TP as #0 followed by
  29. another
  30. Char, why not using a second set of char to specify the authorised
  31. extended
  32. key codes, that would be checked whenever ReadKey returns a #0 ?
  33.  
  34. Alp,                                              Raphael.
  35.  
  36.  * OLX 2.1 TD * Ain't got anything serious to write here ?
  37. --- FMail 0.92
  38.  * Origin: ICEBERG - La Garenne * FRANCE * Tel:(33)-1-47699261 (2:320/1)
  39.                                                                              
  40.