Nevron Forum

Disable Nevron Save As shortcut

https://www.nevron.com/Forum/Topic8628.aspx

By Craig Browder - Friday, June 27, 2014

Is there a way to disable the Nevron "ctrl+s" save feature? When the user clicks on the diagram then presses ctrl+s, the nevron save dialogue is displayed, overriding ours. We need to disable this. Is this possible?
By Nevron Support - Wednesday, July 9, 2014

You can try this:

NDiagramCommand cmd = commandBarsManager.Commander.Commands.GetCommandFromId((int)DiagramCommand.SaveDrawing);
cmd.Shortcut = null;
commandBarsManager.Recreate();


This removes the Shortcut from the SaveDrawing command and rebuilds the UI of the command bars manager.