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
835
Select All in UltraTextEditor
posted

Hi, I am using UltraTextEditor, Ctrl+C and Ctrl+V shortcuts are working for Copying and pasting. But Ctrl+A is not working, it is not selecting all text in TextEditor.

Do i have to code in KeyDown event of TextEditor in order to select all text from TextEditor, or am i missing some property of TextEditor?

 

  • 469350
    Offline posted

    Hi,

    I tried this out using v10.3 (the latest) and it works fine for me.

    What version are you using?

    The UltraTextEditor displays an inbox TextBox control over itself when it's in edit mode, so the TextBox handles Ctrl+A automatically. So the UltraTextEditor doesn't really even do anything there.

    If it's not working for you, then try placing a TextBox control into the same container as the UltraTextEditor is see if it works for the TextBox.

    If not, then my best guess is that a toolbar or a context menu on the form is handling Ctrl+A before it gets to the controls.

    If the TextBox works and UltraTextEditor doesn't, then try the same test with a new UltraTextEditor instead of the TextBox.

    If that works, then the issue must be caused by something you are doing to the UltraTextEditor in your application. Maybe you are handling the KeyDown event or something like that.