Home Forums WinForms controls Xceed Grid for WinForms Property grid with drop down combobox – detect value changed? Reply To: Property grid with drop down combobox – detect value changed?

User (Old forums)
Member
Post count: 23064

In the ActivatingControl event handler, do you subscribe to the SelectedIndexChanged event of the WinComboBox?  If so, this event should be fired every time the selection changes in the ComboBox, without it having to loose focus.

If this is not the behavior you are seeing in the grid, then I suspect an exception is thrown somewhere in the event handlers, but you don’t see it because it is swallowed by the grid or the .NET framework.

To trap exceptions, you need to set the debugger to break on all exception.  Go to Debug Menu -> Exceptions -> Common Language Runtime Exceptions.  Select “Break into the debugger” radio button in VS2003, or select “Thrown” CheckBox in VS2005/2008.

If you are in VS2005/2008, make sure the “Enable Just My Code” CheckBox is unselected (Tools Menu -> Options -> Debugging -> General).

This will make sure that no exceptions are swallowed by the grid or the framework, and that the debugger will break in any part of the code, not just yours.

 

Imported from legacy forums. Posted by André (had 2324 views)