Highlight text when Tab or Shift+Tab

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

How can i highlight the whole text in a textbox control when a user tab or
shift+tab into the control?
Thanks
Tony
 
Tony said:
How can i highlight the whole text in a textbox control when a user tab or
shift+tab into the control?
Thanks
Tony

Tony, if I understand correctly then you can use the Enter Event of the
textbox and
this.textBox2.SelectAll();
 
Back
Top