Click to See Complete Forum and Search --> : Tab and controls


ceq
August 21st, 2001, 09:08 AM
How can I get the list of all the controls located on a Tab, if I know the Tab?
Thx

Ghost308
August 21st, 2001, 09:28 AM
There may be a much nicer way to go about this, but I would just set the Tag property of all controls within a given tab to represent which tab it is in. All controls in the first tab would have a tag that says "Tab1", all controls in the second have "Tab2". that way you should be able to use the Form!Controls collection and check the Tag properties to determine the tab. I hope that solutions helps!

Jeff