VS 2008 Navigation through databindings-VBForums
Results 1 to 3 of 3

Thread: Navigation through databindings

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2011
    Posts
    57

    Navigation through databindings

    Hello friends ! How are you all ?

    I wanna know a thing.

    I wanna know how to move into the different regs of the form (using databindings), just focusing the ID textbox and selecting ALT + => to go to right, ALT + <= to go to left, ALT + UPbutton to go to next and ALT + DOWNbutton to go behind.

    Any ideas??

    Thanks !

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    89,080

    Re: Navigation through databindings

    Follow the Blog link in my signature and check out my post on Keyboard Events to learn how to detect those key combinations. As for the actual navigation, you can use the SelectNextControl method of the form to simulate using Tab and Shift+Tab to navigate between controls while the MoveNext and MovePrevious methods of your BindingSource can be called to move between records.

    2007-2014

    Why is my data not saved to my database? | MSDN Data Walkthroughs
    MSDN "How Do I?" Videos: VB | C#
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts) | WP8 Turnstile Feather Transition with Pivot Control
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2011
    Posts
    57

    Re: Navigation through databindings

    Quote Originally Posted by jmcilhinney View Post
    Follow the Blog link in my signature and check out my post on Keyboard Events to learn how to detect those key combinations. As for the actual navigation, you can use the SelectNextControl method of the form to simulate using Tab and Shift+Tab to navigate between controls while the MoveNext and MovePrevious methods of your BindingSource can be called to move between records.
    Thanks a lot ! Is exactly what I've been looking for !

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.