How to hande events to control arrays
(Saturday, August 28, 2004)
Found the following interesting discussion in the Newsgroups:
How to hande events to control arrays? by: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!
| | | Reply: by:Marina
| | | Have their onchanged event all go to the same handler. Loop through your array, adding the handler for each combobox.
|
Posted by Xander Zelders

|
0 Comments:
Post a Comment
<< Home