locked
textbox RRS feed

  • Question

  •  

    hi guys,

    i need to know how i can activate the textbox

     

    i mean there are four textbox on the form and when the user write the neccessary information on the firs textbox and press enter, the cursor is moved to the second textbox. i would like to use the "enter" instead of "tab".

     

    thanks everybody. 

    Sunday, December 9, 2007 2:23 PM

Answers


  • Trap the Enter key inside your code. And in that use SetFocus() on your text box to make it active.

    Thanx
    Tuesday, December 11, 2007 9:05 PM

All replies


  • Trap the Enter key inside your code. And in that use SetFocus() on your text box to make it active.

    Thanx
    Tuesday, December 11, 2007 9:05 PM
  • i know how i can activate the textbox by clicking a button but i cannot use the "ENTER" key while writing to the textbox

    please send me an example code that show me how activate them while writing by enter key.

     

    thanks

     

    Friday, December 14, 2007 8:23 AM