>I have a few Textbox. I using 'Enter' to go to another TextBox. If I want to delete the contain of the textbox, I using the 'backspace' to delete. When I press to many time of 'BackSpace', It will jump to the previous textbox. Can I stop the cursor from moving back to prevous textbox.
>
>Thanks
Carmen,
If u really want to do it either in keypress or lostfocus check for key 127.
ie:
*Keypress
lparameters nKeyCode, nModifiers
if this.Selstart = 0 and nKeycode = 127
nodfault
endif
*Lostfocus
if lastkey()=127 and !mdown()
nodefault
endif
Cetin