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