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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GDBG drag and drop - ready state

Thread ID:





40932 Feb 16,2006 06:37 PM UTC Feb 17,2006 11:21 AM UTC WinForms 1
Tags: GridControl
Asked On February 16, 2006 06:37 PM UTC

I have some complains from the user that it is hard to place the cursor on the GDBG row to enable the Drag and Drop option. The placement of the cursor must be exact and it is hard to control. Is there any way to control this functionality. Have the Drag and Drop cursor enabled within the whole selected row ( not only at the very top and bottom )? Any other ideas?

stanleyj [Syncfusion]
Replied On February 17, 2006 11:21 AM UTC

Hi Kstoj, You can get the OLEDrag icon when hovering over the border of the selected range. One alternative way that can be thought is to reposition the mouse cursor, so as to position it in the border to see the Drag and Drop cursor enabled as soon as the selection is made. You can also clear the selection in the DragDrop handler so as to clear cursor position. You may also need to use escape key if the selected range is to be changed. private void gridDataBoundGrid1_CellMouseHover(object sender, Syncfusion.Windows.Forms.Grid.GridCellMouseEventArgs e) { if(this.gridDataBoundGrid1.Selections.Ranges.Count > 0) { Rectangle rect = this.gridDataBoundGrid1.RangeInfoToRectangle(this.gridDataBoundGrid1.Selections.Ranges.ActiveRange); Point pt = new Point(e.MouseEventArgs.X, rect.Y); Cursor.Position = this.gridDataBoundGrid1.PointToScreen(pt); } } Best regards, Stanley


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