Re: Setting the focus on a text box

  • From: "black ares" <matematicianu2003@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 6 Dec 2009 14:51:02 +0200

txtFirstName.focus();

  ----- Original Message ----- 
  From: Celia Rodriguez 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Sunday, December 06, 2009 2:39 PM
  Subject: Setting the focus on a text box


      Hi Everyone,

       

      Thanks to all who have answer my questions.

      One more.

       

      How do I set the focus back to a text box after a message has been issued?

       

      Example 

      If (txtFirstName == " ")

       

      MessageBox.Show("Please enter a first name.");

                      FirstName  how do I set the focus?

       

      Thanks,

      Celia

Other related posts: