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.

OnTableControlCellMouseDown not firing?

Thread ID:





20384 Oct 15,2004 08:15 AM Oct 15,2004 11:11 AM Windows Forms 1
Tags: Grouping
Dominic Morris
Asked On October 15, 2004 08:15 AM

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 11:11 AM

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.

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.