Profile Picture

Context Menu Tool and Keyboard Tool Enable

Posted By Volvick Derose 14 Years Ago
Author
Message
Volvick Derose
Posted 14 Years Ago
View Quick Profile
Forum Guru

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
Last Active: 12 Years Ago
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);



Similar Topics


Reading This Topic