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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

double click -> focus to other control

Thread ID:





4435 May 13,2003 06:42 AM UTC May 13,2003 10:34 AM UTC WinForms 1
Tags: GridControl
Patrick van der Plas
Asked On May 13, 2003 06:42 AM UTC

On a double click on the grid I want to give another control the input focus (a control on a dockwindow). Doesn't work on the normal DoubleClick event (as with lot of other controls, treeview for example). How can I make it work?

Administrator [Syncfusion]
Replied On May 13, 2003 10:34 AM UTC

The problem is that the current cell control gets focus with the first click, and this control grabs the second click as a single click to it. If you set ActivateCurrentCellBehavior to None, then the current cell control will not get focus, and the CellDoubleClick will be hit. But, of course, this means you cannot click a cell to activate it which you may need. In our upcoming 1.6 release (soon), there is another event exposed to handle this problem, CurrentCellControlDoubleClick. With the 1.6, you will be able to catch the double click and still keep the single click activation.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon