>>>Well do not see what it is. If I key data in field and tab back into it, it highlights data but if the field is empty only see flashing cursor bar.
>>
>>Thats the way it suppouse to work. There's nothing to highlight if field is empty.
>Yes that is what I thought but in vfp3 if you tab into an empty field it highlights the whole field. Can this be done in vfp9?
in .gotfocus
if empty(this.value)
this.value=space(n)
this.selstart=0
this.sellength=n
endif
Qualifies as a kludge, IMO. I think it's actually unnecessary - people are used to the current behavior. Actually the lack of selection is a clear signal to the user that there's nothing to select.