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:
moveTool.DuplicationNeededOffset = 100;
Best Regards,Nevron Support Team
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