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
325
Getting fancy: Tabs of UltraWinTree as dropdown editor for a cell...
posted

Hi, all - I've gotten *this far* and am stuck. Basically I have:

_WinGrid as UltraWinGrid
_TextEdit as UltraTextEditor
_TabControl as UltraTabControl
_TreeControl as UltraTree
 
and then...
_WinGrid.Band.Column.Editor = _TextEdit
_TextEdit.ButtonsRight(0).Editor = _TabControl
_TabControl.Tabs(0).Controls = _TreeControl
 

I've got it all hooked up so that the UltraTextEditor's dropdown button displays the tab control, the tab displays the correct tree (there are actually two) and I can preset the correct node and close up the control after the selection changes. 

Now I'm getting fancy. I want it to behave like a real combobox. I'd like to allow the user to begin to enter text in the UltraTextEditor, and as they type, look up in the UltraTree to find the 1st node that starts with whatever they've typed, and flesh out the rest of the UltraTextEditor with the text of any match.

However - I have set up event handlers for _TextEdit.ValueChanged and _TextEdit.TextChanged - and neither of them are firing.  In fact, whenever I stop the program and do a real-time check of _TextEdit.Text or .Value, it always and invariably says "UltraTextEditor1" - which is not the name of the control, and CERTAINLY not the text in the cell.

_WinGrid.TextChanged isn't getting fired either. 

So, my question mainly is, where on earth do I hook up a handler to tell when the text in that box changes?

Thanks,

Rob 

Parents Reply Children
No Data