>Hi Doug ----
>
>Try adding a "K" to the Format property of the Textbox.
>
Another trick that works consistently is to have the GotFocus event code change the SelStart property to 0 and the selLength property to a size equal to or greater than the total number of characters in the value. Unlike K, it works when you select the field either by tabbing to it or by a mouse click.
>>I have a textbox on a pageframe. I want to set focus to the textbox when the user selects the page. I have the SelectOnEntry property set to .T. but when I select the page, it sets the focus to the textbox, but the contents are not selected. If I begin typing it does not overwrite the existing contents of the textbox [as it should]. Any ideas?
>>
>>Thanks
>>Doug