I am writing an application in VB6. As part of a form I have an indefinite number of tabs (chair1, chair2 etc) which should each present the same set of controls. Each tab (set of identical controls) will store different data.
I get the feeling I'm overlooking something obvious, but is there really no neat neat way or replicating all those controls (i.e. from a 'template frame' at runtime for each new tab created? (I do not want to emulate the switching of tabs by reloading each tabs different set of data into the same controls as the user switches between tabs). As far as my knowledge suggests the only way for me to do this at runtime (i.e. but not creating tons of copies of the these controls & showing/hiding them) is by creating and positioning them all *one by one* through code (using the Load statement etc). Can I not somehow replicate the picture box/frame they are all contained within! This does not seem to work but is really what I want to do!
Any help would be greatly appreciated, however please do not let me waste your time. Thank you.