>thanks again Alan
>
>when I switch the SelectOnEntry=.F. no highlight occurs
I finally tried to run a test myself. Without thisform.edtBox.SetFocus() as the last line in the method, it doesn't work. With SetFocus() it highlightes the text just fine.
If it's not broken, fix it until it is.
My Blog