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,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)Supreme Being (4,350 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:50 AM
Posts: 3,043, Visits: 3,777

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