I have spent a bit of time trying to upgrade a project to version 2008.1 619 but have been getting this error:
I have traced it down to the line: "RadEditor1.Tools[0].Tools.Insert(0, custom1);"
in
EditorTool custom1 = new EditorTool();
custom1.Name = "CustomSave";
custom1.ShortCut = "CTRL+1";
RadEditor1.Tools[0].Tools.Insert(0, custom1);
The help file also shows adding a button using the code below which also creates the error
EditorTool tool = new EditorTool("Bold");
tool.Type = EditorToolType.Button;
RadEditor1.Tools[0].Tools.Add(tool);
Has something been changed or is this a bug to be resolved. Any help would be greatly appreciated.
Thanks,
Dave
|
I have traced it down to the line: "RadEditor1.Tools[0].Tools.Insert(0, custom1);"
in
EditorTool custom1 = new EditorTool();
custom1.Name = "CustomSave";
custom1.ShortCut = "CTRL+1";
RadEditor1.Tools[0].Tools.Insert(0, custom1);
The help file also shows adding a button using the code below which also creates the error
EditorTool tool = new EditorTool("Bold");
tool.Type = EditorToolType.Button;
RadEditor1.Tools[0].Tools.Add(tool);
Has something been changed or is this a bug to be resolved. Any help would be greatly appreciated.
Thanks,
Dave