Profile Picture

Can you disable Ctrl+drag Copy?

Posted By Jason Irby 10 Years Ago
Author
Message
Jason Irby
Posted 10 Years Ago
View Quick Profile
Forum Member

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
Last Active: 3 Years Ago
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

 

 

 

 



Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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





Similar Topics


Reading This Topic