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
220
How can I be notified of text selection changes on an cell's editor?
posted

I'm trying to be notified when a user changes the selected text on a cell's editor.

When the cell's editor is a simple text editor it works fine.  On AfterEnterEdit, I assign mouse and key handlers to the ActiveCell.EditorResolved which allow me to know when this occurs by checking the selection related properties when the events are fired.

We are also using an UlraFormattedTextEditor as an editor on a different column.  I've tried to attach key handlers to the ActiveCell's EditorResolved and EditorControlResolved properties, with no luck.  When in edit mode the grids Controls[0] is actually an UltraButton (because the cell also has an EditorButton)...

Where can I add key handlers to so that I can be notified when a user users the keyboard to change the selected text?

Thanks

 

Parents
No Data
Reply
  • 469350
    Offline posted

    A normal text cell in the grid, when it enters edit mode, display a TextBox control over the cell to allow editing. The Masked editor don't do this. So the key messages are raised by the grid itself. 

Children
No Data