Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing keystrokes entered in a control
Message
From
03/10/2004 00:02:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Changing keystrokes entered in a control
Miscellaneous
Thread ID:
00948285
Message ID:
00948285
Views:
60
I would like to intercept and modify keystrokes entered into a textbox. I can intercept them with the KeyPress event and I can then write the modified text into the textbox.value. However after leaving the KeyPress event the original key's value is also placed into the textbox. It isn't sufficient to just replace the original key in the keyboard buffer with the new value as I want to place the new value to the left of the existing characters in the textbox. How can I inhibit the original keystrokes?
Greg Lee
GCL Software
Next
Reply
Map
View

Click here to load this message in the networking platform