Selecting text

  • Thread starter Thread starter Sandy H
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top