General information
Category:
Forms & Form designer
>Hello everybody-
>A quick question for the sages. 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.
Set KeyPreview to .T. in the form. In the textbox KeyPress event look for the backspace a 127.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only