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