Selecting text

S

Sandy H

Hi
Does anyone know how to select text from code.

Ie
If the user enters a value that isn't valid, I am setting the focus back to
that control and then I want their entered text to be highlighted.

Thanks in advance
Sandy
 
Top