What if your maxlength is 0?
>This solution will not necessarily work all the time, depending on your typing speed, and other factors. This code in gotfocus is better:
>This.selstart=0
>this.sellength=this.maxlength
>
>>In the gotfocus you can add
>>
>>KEYBOARD '{HOME}'
>>
>>which will start them in the first position or
>>
>>KEYBOARD '{HOME}{SHIFT-END}'
>>
>>which will highlight the entire entry
>>
>>If you put it in the base class, it will work for all fields
>>
>>
>>>My users are consistently using their mouse to navigate around the textboxes of a form. Often they will click into the middle of the control and begin typing only to have the cursor jump to the next field before they are finished typing. I have tried setting the Selectonentry to .T. and the MaxLength to 0 but this doesn't seem to help.
>>>
>>>Is there a fix for this other than training the user to navigate with the TAB key?
>>>
>>>Thanks
'If the people lead, the leaders will follow'
'War does not determine who is RIGHT, just who is LEFT'