General information
Category:
Coding, syntax & commands
> In KeyPress event you can check SelStart property and if it equals to 0, you intercept the case and, I think, using setfocus() with nodefault will restore focus to the textbox.
actually after you trapped the backspace in the Keypress event (and confirmed it will get outof the field - either by if alltrim(this.value)="" or by what Edwards said or whatever) issueing a NODEFAULT will prevent the
Keypress from being processed
Arnon
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