Can you disable Ctrl+drag Copy?


Author
Message
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi,

Regarding your questions:

1. To disable the duplication of shapes when dragging a shape with the Ctrl button pressed, you should get the mouse move tool of the drawing view's controller and set its AllowDuplication property to false:

NMoveTool moveTool = (NMoveTool)view.Controller.Tools.GetToolByName(NDWFR.ToolMove);

moveTool.AllowDuplication = false;

2. If you want to only increase the distance of drag needed for a shape duplication, you should change the value of the DuplicationNeededOffset property:

NMoveTool moveTool = (NMoveTool)view.Controller.Tools.GetToolByName(NDWFR.ToolMove);

moveTool.DuplicationNeededOffset = 100;



Best Regards,
Nevron Support Team


Jason Irby
Jason Irby
Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)
Group: Forum Members
Posts: 59, Visits: 77

 

We are using diagram ver 10.6.23.12.

It seems to be a built in feature to perform a shape copy if the ctrl key is held down and a shape drug, it creates a copy.

1.  Can that be turned off somehow?

2.  If not, can a threshold be set to increase the distance of drag before the copy starts?

We have cases of customers accidentally making copies as they try to hold down ctrl key while selecting multiple items but dragging a little by accident. 

 

Thanks in Advance,

Jason Irby

 

 

 

 


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search