>>>>Just this TopLevel form application. The other applications I have are not in a top level form, and they do not have that same behaviour.
>>>
>>>Another workaround, alternative to Alan's suggestion, and one that doesn't require custom code, is to change .SelectOnEntry = .T.
>>
>>Thank you Hilmar,
>>
>>I found another workaround, Keeps the behaviour just as I expect it to be, without a worry of when a user enters the textbox highlighting some text with the mouse.
>>In the LostFocus Event, add the following line:
>>
This.SelStart = 0
>>
>>Tracy
>
>That looks both simple and effective.
>
>Suggestions: 1) Don't forget you can do this in your base classes. 2) You may want to make this dependent on some condition; for instance:
>
>
>if not This.SelectOnEntry
> This.SelStart = 0
>
I did put it in the baseclass for this project. And the development team here is going to be investigating putting this in the base class of the main project.
Thank you for the condition, I over looked that possibility.
The odd things is, the main project is behaving this way, without the additional code.
Tracy
Tracy