Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reading keyboard buffer
Message
From
10/05/2000 09:14:33
 
 
To
10/05/2000 06:27:45
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00368004
Message ID:
00368056
Views:
26
>I'm using a text-object for input which has a keydown, keypress and keyup-event. The keydown-event is used to detect which key(combination) is pressed and act on it. The text-box is an ActiveX-control, as the "normal" VFP-objects only have a keypress-event which does not detect ALT-combinations. So, I receive a key, check the key and if it's a preset execution of that preset starts. However, when processing that preset, I don't receive the keyboard input (eg. the key-down doesn't fire) UNTIL the system (eg. the form) is ready for input again. In that way I miss a lot of input! I actually know the solution: just reading the keyboard-buffer directly. Only problem is, I don't know how... What I need is to be able to read the keyboard buffer directly, one way or another. If anyone have an idea...


INKEY() will prbably do what you are looking for...
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform