Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!umd5!brl-adm!adm!C386104%UMCVMB.BITNET@cunyvm.cuny.edu From: C386104%UMCVMB.BITNET@cunyvm.cuny.edu (Curtis Bohl) Newsgroups: comp.lang.pascal Subject: Changing NumLock key status within TP3.0 Message-ID: <16677@brl-adm.ARPA> Date: 28 Jul 88 18:13:08 GMT Sender: news@brl-adm.ARPA Lines: 13 I am currently designing an application that will use only the keypad on an IBM-PC. I would like to set the NumLock key automatically from within the program (thereby eliminating manual operator intervention). I could convert the scan codes for the cursor-control keys to numbers EXCEPT for the fact that the keypad 5 key does not return a scan code when the NumLock key is in cursor-control mode. I have tried to use a BIOS call to Int $16. I can check the key's status and tell someone to change it, but I would like to eliminate this step. Any assistance will be appreciated. Thanks in advance! Curtis Bohl C386104@UMCVMB.BITNET