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

OnTableControlCellMouseDown not firing?

Thread ID:





20384 Oct 15,2004 12:15 PM UTC Oct 15,2004 03:11 PM UTC WinForms 1
Tags: Grouping
Dominic Morris
Asked On October 15, 2004 12:15 PM UTC

protected override void OnTableControlCellMouseDown( .. ) and also OnTableControlCellMouseUp don''t seem to fire in my derived class. any settings which would cause this to be the case? thanks, D.

Administrator [Syncfusion]
Replied On October 15, 2004 03:11 PM UTC

The method is only hit when the cell does not have focus (with an active editing control). Once the cell control has focus, it catches the mouse events and the grid does not get them. If you want to catch the mouse events for these active cells, you can handle the TableControlCurrentCellControlGotFocus and TableControlCurrentCellControlLostFocus events. In Got focus, you can subscribe to the e.Control.MouseDown event, and in LostFocs, you can unsubscribe to the event. In this manner, you will be able to catch these actions on teh active cell.


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