Hi,
I would like to validated choice on combo box on UltraWinToolBars
I always set de procedure on ToolValueChaged, but I can have acces to e.cancell or oldvalue if not validated
If I use AfterToolExitMode was work but I can't find How I can force the exit on edit mode AfterToolCloseup.
Private Sub utm_AfterToolCloseup(sender As Object, e As Infragistics.Win.UltraWinToolbars.ToolDropdownEventArgs) Handles utm.AfterToolCloseup
e.Tool.ToolbarsManager
End Sub
I don't really understand what you want to do. In the "AfterToolCloseup" event you could set another tool as active by doing something like this:
e.Tool.ToolbarsManager.Toolbars(0).Tools(2).IsActiveTool = True
That would take the ComboBox out of edit mode. Is that what you want?
Yes I would like just exit on edit mode after selected one item on combo list.
You said,
e.Tool.ToolbarsManager.Toolbars(0).Tools(2).IsActiveTool = True is exit on edit mode ?
Usually it has a command like "PerformAction(ExitEditMode)" or .Editor.ExitEditMode(...)
Francois.