Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping the Backspace Key
Message
From
13/08/1999 15:28:04
 
 
To
13/08/1999 15:26:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00253434
Message ID:
00253622
Views:
37
>>
>>"How can I best trap the backspace key in a textbox so that after the text is fully deleted the textbox does not lose the focus? I only want the focus to move to the previous control by using the mouse or shift-tab."
>
>Right, and there's no problem from me on that. :-) I wasn't trying to solve the overall original problem as stated by Scott. I was only trying to show him (Scott) how to trap the keystroke so he could then develop his algorithm for solving his overall problem. But it seems a judicious test on the current SelStart/SelLength in the KeyStroke event could help to solve the overall problem. As usual, there's probably several ways of skinning this cat. :-)
>
>Bill

Very true. :)
Previous
Reply
Map
View

Click here to load this message in the networking platform