Context Menu Tool and Keyboard Tool Enable


Author
Message
Volvick Derose
Volvick Derose
Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)
Group: Forum Members
Posts: 71, Visits: 1
Couldn't find a way to enable the context menu and the keyboard from the following code

NKeyboardTool keyBoardTool = nDrawingView1.Controller.Tools.GetToolByName(NDWFR.ToolKeyboard) as NKeyboardTool;
NContextMenuTool contextMenuTool = nDrawingView1.Controller.Tools.GetToolByName(NDWFR.ToolContextMenu) as NContextMenuTool;
contextMenuTool.Enabled = true;
keyBoardTool.Enabled = true;
nDrawingView1.Controller.Tools.SingleEnableTool(NDWFR.ToolContextMenu);
nDrawingView1.Controller.Tools.SingleEnableTool(NDWFR.ToolKeyboard);
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search