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

Dragging Rectangle

Thread ID:

Created:

Updated:

Platform:

Replies:

39392 Jan 5,2006 06:53 PM UTC Jan 6,2006 04:19 PM UTC Windows Forms 1
loading
Tags: Diagram
Mitch Todd
Asked On January 5, 2006 06:53 PM UTC

Hi, I''ve recently implemented a Syncfusion Diagram into one of my forms, and I build the symbols and links completely dynamically at run-time. More specifically, I''m displaying a topology of hardware depending on what the user wants to add to the system. This sometimes can be quite a large topology, and continues off of the visible diagram area. I have also implemented a type of dragging-scrolling mechanism (much like in Adobe Reader and Google Maps) so that the user can easily maneuver around the topology. Now when the user clicks somewhere on the diagram and drags, a selection rectangle is displayed while dragging. Is there anyway I can override this so that it is not shown? Thanks, Mitch

Administrator [Syncfusion]
Replied On January 6, 2006 04:19 PM UTC

Hi Mitch, The tracking outline is drawn by the Essential Diagram SelectTool in response to clicking and dragging the mouse on the diagram. You can prevent the tracking rectangle from being drawn by replacing the standard SelectTool with a custom version that does not call controller.View.DrawTrackingRect(...) from it''s IMouseEventReceiver.MouseMove method. Please take a look at the SelectTool class implementation in the Diagram.Base\Tools\SelectTool.cs file (Diagram.Windows\Tools\SelectTool.cs if you are using v 4.1) to see how the SelectTool is implemented. The following Essential Diagram KB article shows you how to customize an interactive tool - http://www.syncfusion.com/support/kb/diagram/Default.aspx?ToDo=view&questId=48. Prakash Surendra Syncfusion Inc.,

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

;