Hi. I have an UltraTextEditor which has an editor assigned to a DropDownEditorButton in the UltraTextEditor's ButtonsRight collection. I only want the user to be able to set the text value of the UltraTextEditor via the DropDownEditorButton's control (iow the user should not be able to type directly into the UltraTextEditor). How do I achieve this?
Thanks in advance.
I seem to have solved it by supressing the user key press in the KeyDown event.
Hm. I was going to suggest setting the ReadOnly property to true. I'm not sure if you will still be allowed to push the dropdown button, though.
The only down side of using KeyDown is that the user will not be able to drop down the button via the keyboard. Which probably isn't an issue, since i don't think that will work automatically, anyway, and you could handle the keystrokes in KeyDown if it's important.