I have two possible solutions:
#1
I could write out a number into the id field of each control (either
adding on to the name or just having a number) when I write out the
controls. This could correspond to the index number.
#2
The second is to pass the control into a function that would loop through
all of the controls in the array to find which on it is. (would probably
temporarily set the id to something like "Search" so that I could find it).
Does anyone see anything bad about having ID properties that = the index?
Would it be better to go with #1, #2 or is it just preference?
> Well, I don't have it working yet but I'm going to try a couple of
things
t> hat were suggested. Thanks for the help.
> Jared