Profile Picture

Prevent from copy shape with CTRL and Mouse Move

Posted By michal bandrowski 15 Years Ago
Author
Message
michal bandrowski
Posted 15 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 15 Years Ago
Posts: 10, Visits: 1
It works, Thank You.

Ivo Milanov
Posted 15 Years Ago
View Quick Profile
Forum Member

Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)Forum Member (35 reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 35, Visits: 15

Hello Michal,

 

The duplication behavior can be suppressed by setting the AllowDuplication property of the NMoveTool to false:

 

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

moveTool.AllowDuplication = false;

 

The cursor is changed to "pointer plus" only when the move tool is going to perform duplication. Since duplication is not allowed the move tool will not change the default "pointer" cursor and the Ctrl key will not affect the default move tool behavior.

 

I hope this helps.

 

Regards,

Ivo



michal bandrowski
Posted 15 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 15 Years Ago
Posts: 10, Visits: 1

I have a view, diagram, and few shapes on it. When user select particular shape, and then while moving it he press ctrl key, shape will be cloned - how can I prevent it? Also I'd like to switch off cursor change to small 'plus' symbol - How can I do it?





Similar Topics


Reading This Topic