Nevron Forum

Remmove formatting toolbar

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

By Craig Browder - Friday, May 2, 2014

I am trying to remove the text formatting tool bar, and I am having some issues. I try to locate the toolbar by using the following code:

NTool tool = nDrawingView1.Controller.Tools.GetToolByName(NDWFR.ToolDragDropTarget);
int idx = nDrawingView1.Controller.Tools.IndexOf(tool);
nDrawingView1.Controller.Tools.Remove(tool);

However, nothing is found and therefore the remove method does not remove anything.

Can you please tell me why?

Craig