Hello,
I would like to enable/disable clipboard buttons (cut, copy)s in a toolbar based on whether the user has selected text in a ultraTextEditor. Is there an event fired when the user changes the selected text. I actually only need an event to indicate whether there is selectedText or not.
Thanks
Wendy
No there is no event which will occur only when selected text is changed. If your cut, copy operation are in a popup menu of your toolbar, you could handle event like ToolClick or BeforeToolDropdow (if you are using UltratoolbarsManager) in order to check if editor has selected text and to disable/enable needed commands.
Please let me know if you have any further questions.
Thanks Hristo,
I had tried a few different events like PropertyChanged with different PropIds and nothing fired. For the ribbon buttons, I guess I'll use the user interaction event MouseUp on the embedded textbox which will catch most cases.