General information
Category:
Forms & Form designer
You may put the following code in the Valid event of the textbox:
IF LASTKEY() = 127 OR LASTKEY() = 19
RETURN 0
ENDIF
The above code will force the cursor to stay on the textbox if the LASTKEY() value is 127 (backspace) or 19 (left arrow).
Hope I was of help... :)
Dennis
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