sleep w/inkey, certain keys cause processing to pause

Bob Stockler bob at trebor.iglou.com
Thu Apr 14 06:45:54 PDT 2005


On Sun, Apr 10, 2005 at 11:01:14PM -0400, Filepro List wrote:
| 
| I wrote in about breaking out of sleep command with a keystroke.
| The inkey works great, Thanks. The problem I found using inkey is
| that some keys actually pause the processing, until another key
| is pressed.
| 
| I know these keys pause the processing (caps lock, screen lock,
| pause, numlock, F11, F12,ctrl&", ctrl&:). Some of these are odd
| and not likely pressed by accident but (numlock, caps lock)
| could be a problem. 
| 
| Is there any way to lock out the keys causing the pause?

Instead of locking out the keys you don't want to cause a
pause, define the keys you want to accept, and if the key
pressed was not one of those, continue your loop.

Bob

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list