Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Api replacement for chrsaw()
Message
From
08/11/1999 01:41:10
 
 
To
08/11/1999 00:58:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00288327
Message ID:
00288328
Views:
14
If you are working in a form you can use the Keypress Event.
If you are working in a loop you can place a nKeypress = INKEY(.1) in the loop and then check the value of nKeypress.

>is there a replacement for chrsaw.
>I need something that can tell me whether a key has been pressed in say the last 10 secs.
>chrsaw(10) actually waits for a keypress, and makes the curser go in busy.
>
>Albert
Benn Kjaer
MS Certified Professional - Visual Foxpro

"There is something rotten in the state of Denmark"
"Why make user-friendly programs, when there aren’t any friendly users :o)"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform