>>>Shoot in the dark...
>>>
>>>Set TabIndex property to 1 ??
>>>And make sure txtDescription.When event not return .F.
>>
>>The TabIndex is already 1. When event is not coded.
>
>
>It must be something that make textbox lost the focus.
>
>Is your textbox derived from any textbox class?
>Or any code on gotfocus event in textbox?
There is nothing. The textbox only has a few non-default properties (no methods coded). One of them is anchor = 10.
If it's not broken, fix it until it is.
My Blog