CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    21

    Tabbing using the Enter Key



    Gday,

    Has any one got any easy work around suggestion for enter field tabbing.


    Any help would be greatly appreciated.


    Thanx in Advance

    Jason

  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Tabbing using the Enter Key



    Hi


    In the KeyUp procedure of your textbox / whatever control, try :


    If KeyCode = Asc(vbCr) Then

    SendKeys "{TAB}"

    End If


    Regards


    Chris Eastwood


    CodeGuru - the website for developers

    http://www.codeguru.com/vb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured