How to hande events to control arrays?

  • Thread starter Thread starter SuperRider
  • Start date Start date
S

SuperRider

I have ~ 50 comboboxes (in an array) on a form, and I want to run the same
subroutine every time any combobox changes. Now, I can get this done by
manually editing the "OnChanged" for every one, but surely there is an
easier (shorter) way to do it.

TIA!
 
Have their onchanged event all go to the same handler. Loop through your
array, adding the handler for each combobox.
 
Back
Top