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.

End Key

Thread ID:

Created:

Updated:

Platform:

Replies:

17499 Aug 10,2004 09:42 AM Aug 10,2004 10:13 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 10, 2004 09:42 AM

Is there a property or combination of properties I can set to make the end key behave similar to Excel? For example, when the end key is pressed and right arrow, the cursor should move to the end of the data and if no data exist move to the last column. Thanks, Steve

Administrator [Syncfusion]
Replied On August 10, 2004 10:13 AM

There are no properties that allow you to control the behavior of the end + arrow keys. You can try catching the CurrentCellControlKeyEvent and trying to do something there, but I suspect it will take some additional work as you will have to cache the fact that your user hit the end key, and then look and see if the next key pressed is an arrow key. You will also have to handle the case when the current cell is not editing when the end key is pressed. Then I thnk you would need to handle the grid.KeyDown to catch the end key. It will take a little work to get this support.

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.

;