highlighting the text of a textbox

H

hawk

I have a form with several textboxes. When the <OK>
button is clicked to close the form, a function is called
to verify that all the textboxes contain appropriate
values. If not, a message is displayed and the first
invalid textbox gets the focus.

What I am having difficulty with is that I would like the
text in that textbox to be highlighted as well. Any ideas
would be appreciated...TIA
 
Top