Remmove formatting toolbar


https://www.nevron.com/Forum/Topic8583.aspx
Print Topic | Close Window

By Craig Browder - 10 Years Ago
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