Ramadan Elmahdy

Ramadan Elmahdy

  • NA
  • 27
  • 14.3k

select all text in text box

Mar 17 2015 3:45 PM
Hello All
 
i have windows App
some text boxs
i tab between textbox by this code
 
 
private void AstTxt_KeyDown(object sender, KeyEventArgs e)
  {
     if (e.KeyCode == Keys.Enter)
      {
         AltTxt.Focus();
       } 
   }
 
but i want when go next text box
 select data in this textbox not delete it 

Answers (2)