Id create each tab with a tag, so tab one could have the tag 1 and tab two could have the tag 2 etc..

Then the following code would loop round the entire tab collection and then all of the control...