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
2490
Validated ComboBox
posted

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

Parents
No Data
Reply
  • 9298
    posted

    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?

Children