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?
I find the reason for this. If EnableVisualStyles is not set on project it does not work (CTRL+A). I added this:
Application.EnableVisualStyles()
Thanks Mike for your help.
Hi,
Okay, it looks like the TextBox doesn't allow Ctrl+A when it's in multiline for some reason. So since the UltraTextEditor is using a TextBox control it behaves the same way. So I guess you will have to handle this in the KeyPress event.
Another option would bet use a to use a Toolbar and have a Select All button with a shortcut. But then you would have to handle this for all controls on the form, based on the ActiveControl.
Hi Mike,
I am using UltraTextEditoras MultiLine.
Thanks
Thanks for your time.
I am using V10.2. I tried using both UltraTextEditor and TextBox in my sample application, but for both controls i was unsuccessful. I have attached my sample application, please have a look on it.
Thanks,