In click event of textbox:
ThisForm.Grid1.Column1.Text1.SelStart=0
This will move the insertion point at the beginning of text
- and -
SET CONFIRM ON
User will be forced to hit ENTER or TAB to leave cell
Hope this help
Grigore Dolghin
Class Software.