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.
Syncfusion Feedback

howto preserve selection region on right-click

Thread ID:

Created:

Updated:

Platform:

Replies:

20375 Oct 15,2004 08:38 AM UTC Oct 15,2004 11:30 AM UTC Windows Forms 2
loading
Tags: Grouping
Dominic Morris
Asked On October 15, 2004 08:38 AM UTC

Hi all, I''d like the user to be able to right-click on a selection area of the grid, and have a context menu invoked. At the moment, as soon as they hit the right mouse button, their selection region is lost! I''m deriving from the grid control, and I''ve tried overriding all the obvious methods, but I can''t get it to work. thanks, D.

Administrator [Syncfusion]
Replied On October 15, 2004 10:34 AM UTC

Try setting this property to see if it gives you what you need. this.gridGroupingControl1.TableModel.Options.SelectCellsMouseButtonsMask = MouseButtons.Left;

Dominic Morris
Replied On October 15, 2004 11:30 AM UTC

Perfect, thanks! >Try setting this property to see if it gives you what you need. > >this.gridGroupingControl1.TableModel.Options.SelectCellsMouseButtonsMask = MouseButtons.Left; >

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.

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

;