Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
Disabling default context PopupMenu on UltraFormettedTextEditor
posted

Hi all,

I am implementing a custom popup menu on the UltraFormettedTextEditor control, but when I click on the right-click contextual menu appears by default control, with the typical options to copy, paste, etc..

Then appears in a flash that I made the shortcut menu.

Question: How do I disable the default control to show only the options of my pop-up menu?

Thank you ...

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    How are you implementing your custom context menu? If you set the ContextMenu or ContextMenuStrip property on the control, then the context menu you specify with replace the one that is built in.

    If you are handling MouseUp and showing a dialog or a menu external to the control, then the control has no way to know that you are doing that. So what you would have to do is create an empty ContextMenu or ContextMenuStrip and assign it to the appropriate property on the control.

Children
No Data