Selecting contents of fields in VB.net 2003

  • Thread starter Thread starter Atley
  • Start date Start date
A

Atley

I am trying to automatically select the text in both text fields and Numeric
Up Down fields and cannot find the best way to do this, any suggestions
would be welcome!
 
For textbox use TextBox1.SelectAll()

For NumericUpDown use numericUpDown1.Select(0, numericUpDown1.Text.Length)

Tony Lock
 

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