Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to CLEAR keyboard buffer, anyway?
Message
 
To
26/01/1999 16:08:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00180453
Message ID:
00180607
Views:
21
Steve,
In addition to the 'NODEFAULT' mentioned by Rich and Fred, you need to be careful with the 'otherwise' part of your case statement. If you include a "DoDefault()" command be sure you pass the 2 parameters "nKeyCode" and "nShiftAltCtrl" or you will get some nasty errors.

HTH
Barbara

>I have a KeyPress method in the textbox, which handles spacebar button. Although .Format in the textbox is T, space still gets appended to the .Value. Besides, Programmatic Change does not fire at that moment...
>I need to somehow clear the buffer before this space is appended.Please Help!
>
>Thanks in advance.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform