I have a set of comboxes for the user to input or select some text.
At processing time it's OK for these comboboxes to be either empty or contain something, as long as they are all same state.
They either all are empty, or they all have some text.
I can access the comboboxes' text property by an array (thanks Aaron!), so I could run through each one in a for to loop and test with an if statement and a flag or two, or use a couple of enormous multi conditional if 's, but I was wondering is there is a smarter neater way?
Steve (Delphi 2007 & XP)
At processing time it's OK for these comboboxes to be either empty or contain something, as long as they are all same state.
They either all are empty, or they all have some text.
I can access the comboboxes' text property by an array (thanks Aaron!), so I could run through each one in a for to loop and test with an if statement and a flag or two, or use a couple of enormous multi conditional if 's, but I was wondering is there is a smarter neater way?
Steve (Delphi 2007 & XP)