Easy way to create/copy from a container i.e. Tab/Frame to another.
Given a VB6 program with a form with a Tab Control. Each tab has a frame and many controls (textboxes, radio buttons, labels, combos, etc. each of which is a control array. 1 per tab/frame).
We have a need to expand from our current tab max to about 20.
We need a dynamic way of creating a entire new tab, frame and all the other controls (in the control array).
I know that you can add a tab by increasing ssTab1.tabs. And the frame via a Load.
BUT it seams that you need to do each Control array separately. Requiring a lot of coding. (Each control from an existing tab would need to looked at the based on the name to do a Load as
for each CTL in Form
Select Case Ctl.Name
We actually have to do this with 3 separate forms.
Is there a good way to create/copy from 1 tab to a new tab?