We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Hitting 'Tab' key to shift the focus to next row.

Thread ID:





4330 May 8,2003 01:05 AM May 8,2003 03:37 AM Windows Forms 1
Tags: GridControl
Asked On May 8, 2003 01:05 AM

In GridDataBoundGrid how to do this? By Hitting the 'Tab' key i want to shift the focus to next row.

Administrator [Syncfusion]
Replied On May 8, 2003 03:37 AM

One way you can do this is to inherit the GriddataBoundGrid and override OnKeyDown. There you can swap out the tab key for the down arrow key.
    Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs)

        If e.KeyCode = Keys.Tab And e.Modifiers = Keys.None Then

            Dim e1 As New KeyEventArgs(Keys.Down)




        End If

    End Sub


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.