By pressing Enter key in Textbox moves to another one


By pressing Enter key in one textbox then moves to the next textbox

write the following code in Textbox1_keydown Event


if e.keycode = keys.enter then
sendkeys.send("{TAB}})
endif


Here whenever we press the enter key in the textbox1 then automatically we moves to the next textbox (that means next TabIndex).Sure it works.

Thanks & Regards
Narayana


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: