> I was wondering what's the best textbox setting to use for numeric entry.
> Also I don't want the cursor to be cycling when I press the left and right cursor
> keys. When I click in the box it should also go to the beginning if empty.
> The regular textbox object in VFP doesn't seem to handle decimal entry very well.
>
You are right, the Vfp textbox behavior is a little unconventional.
As for the numeric input, there are a few classes available, for instance in the UT Downloads section as far as I remember.
One written by Marcia Akins is described here
http://www.foxite.com/archives/0000181808.htmAs for the arrow, pos1, end keys behavior, I'm not aware of any public domain classes - you can handle it in yourTextboxClass.KeyPress()
The insertion point issue can be handled in textbox.GotFocus() by setting This.SelStart=0 if MDown() and Empty(Nvl(This.Value,''))
hth
-Stefan