>hi all i have a really unknown and problem
>
>i have a proyect in VFO 30 i generate an executable and all the app runs without problems
>yesterday i open the proyect in vfp50 and migrate all the app in vfp50 .
>Now... the problem
>
>i have a form with a grid two columns when i try to write any number in a cell of the grid
>the netx thing itys happend..
>for example if i write 1234 .. when i star write the number 1 then the CURSOR stay in the CENTER of the cell and start to write the netx numbers that its ...2134 (and not 1234, like i want)
>i try deleting the imput mask the format but the error still
>
>If anybody can help me .. please this app its right know under use of the user error have stoped thr work of 2 users that are look at me with worry
>
>Tanks in advance
Augusto,
You have to set the selectonentry property to .T. for the textbox. If the user uses the mouse to enter the filed this own't work so you also need to go it the GotFocus() event and write;
THIS.SelStart = 1
THIS.SelLength = LEN(THIS.Value)