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
920
UltraTextEditor display ContextMenu immediately
posted

Hi,

I have a simple WinForms application with only an UltraTextEditor and a WinForms TextBox.

When I start my application both controls don't have the focus.

When I right-click the TextBox the control gets focus and the ContextMenu is displayed.

When I right-click the UltraTextEditor the control gets only the focus. I need to right-click once again to display the context-menu.

How can I achieve to get the focus AND display the context-menu with one click, like the TextBox does?

Kind regards,

Wolfgang

  • 12480
    Verified Answer
    Offline posted

    Hi Wolfgang,

    This is not the expected behavior of the TextEditor. However, you can accomplish this by setting the editor's AlwaysInEditMode property to true.

    I have written this up for developer review. The development issue ID for this is 205288.

    Please let me know whether this works for you.