CUSTOM CONTEXTMENU

I've created a ContextMenuStrip and loaded it into the SyntaxEdit's ContextMenuStrip property as the last step of OnLoad() -- I've also set it in the properties window of the edit field. But when I right-click on the editor, the default context menu always shows. How can I get my custom one to display?
[I've looked at CodeEditorSyntax in the demos which does it, and I thought I'm doing everything the same...]
Hi,
I achieved this by using this code (using the WinForms "Alternet.Editor.SyntaxEdit" control):
this.codeEditor.DefaultMenu.Items.Add(...)
Hope this helps
Wolfgang
Hi Eric,
you should also set UseDefaultMenu to false like this:
syntaxEdit1.UseDefaultMenu = false;
regards,
Andrew