LPARAMETERS nKeyCode, nShiftAltCtrl && backspace or left arrow will not exit textbox if (this.selStart = 0 and this.selLength = 0) if nKeyCode = 127 or nKeyCode = 19 or (nKeyCode = 52 and nShiftAltCtrl = 1) noDefault endif endif>If you press HOME twice in a textbox, or HOME then left arrow, the focus moves to the previous control. Likewise, if you press END twice or END then right arrow, the focus moves to the next control. I can find no easy way of stopping this. Can anyone help?