Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with KeyPressed Event
Message
From
13/08/1998 10:21:16
 
 
To
13/08/1998 10:19:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00126502
Message ID:
00126504
Views:
20
>I have a problem with the Keypressed event of a textbox. When the event fires (e.g. user presses key) i want to conditionaly accept or reject the key for input in the textbox.
>
>Does anyone know how to do this?
>
>I've tried :
>- Keyboard buffer flush
>- Not passing the parameters to the dodefault()
>- Not calling dodefault at all
>- Inserting backspace in the keyboard buffer (that one was funny!)
>
>Kind Regards, Wim.

If nKeyCode=69 && or any other needed value
NODEFAULT
Endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform