Always a better mousetrap!
//:^)
>If you put your This.SetFocus() into the GotFocus() event instead of the Click(), and use a K in the Format property of the textbox, you will get the desired effect on entering the textbox - even using a mouseclick, but the user will still be able to position the cursor with a second mouseclick.
>
>>I fixed this problem by putting
>>THIS.SETFOCUS()
>>in the click method.
>
>>>I don't think VFP5 handles numeric values in textboxes incorrrectly, just not necessarily the way we might want it to. Ther problem has to do with the value not being selected when the user starts typing. It usually show up if the mouse is used to get to the textbox. With a tab ito the textbox the SelectOnEntry property will contrl the selection adn any typing would overwrite the current value.