Juan,
Set the propery of textbox.SelectOnEntry = .t.
After searching setfocus() to this textbox.
HTH
I am using a textbox for searching in the database, when that character(s) is(are) not found I want it to do some kind of set focus and to select all text as well. In order for the user to easily delete, or change the characters or text withouth having to point back to the text box and manually deleting or backspacing each character. And he can try searching again.
>
>hope someone can help me
>
>Sincerely Juan
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst