Hi,
I have an UltraTextEditor with an DropDownEditorButton in its ButtonsRight collection.
The DropDownEditorButton opens an UltraGrid. Once the DropDown closes (AfterEditorButtonCloseUp Event), the UltraTextEditor is filled with selected values from the grid (as a comma separated string).
I do not want the user to be able to directly edit the text in the UltraTextEditor since it should only be changed according to the selection of the grid.
How can I disable editing while still allowing DropDownEditorButton to work?
Thanx!
The easiest way to do this is to handle the KeyPress event and set the Handled property of the event arguments to true.