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.

scroll on get focus

Thread ID:

Created:

Updated:

Platform:

Replies:

19399 Sep 24,2004 12:11 PM Sep 24,2004 05:32 PM Windows Forms 1
loading
Tags: GridControl
Lynn
Asked On September 24, 2004 12:11 PM

In a grid control on a panel, if you tab focus to the grid, it scrolls to the bottom. This occurs before OnGotFocus is called, so I am not sure where this is originating. How can I prevent this behavior? thanks! Lynn

Administrator [Syncfusion]
Replied On September 24, 2004 05:32 PM

You can try catching the grid''s Enter event and try calling grid.CurrentCell.MoveTo(1,1) to see if that will avoid this problem. If not, try catching the grid''s Leave event and call the grid.CurrentCell.MoveTo(1,1) there to see if that will avoid this problem the next time the grid gets the focus.

CONFIRMATION

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.

;