>Hello!
>
>Just made some research: to avoid this problem set up
>textbox.SelectonEntry=.t.
>
>Have a happy day
>Vladimir Shevchenko
>
>> I have tried with the "R" format and still get the same behavior.
>> I have also change tue mask using # but still get the same behavior.
Vladimir, this will only work if the user TABs into the textbox. If he uses the mouse, then the cursor is set at the point where the mouse clicked. VFP assumes that you MEANT to put the cursor at that point, and that you're happy with where the decimal point is relative to the cursor. This way it's easy to CHANGE a number, but can have strange effects if you're entering a NEW number.
HTH
Barbara