I have a tab (created in the form developer) that contains about a dozen controls. I need to be able to clone this tab w/all controls. I have no problem creating the forms. However, the controls don't copy. This is true whether I create the new tab with a string:
... TabPages.Add(MO.Name)
Or with a tab object assigned to the base form:
Dim NewTab As New TabPage
NewTab = MyBaseTabPage
... TabPages.Add(NewTab)
In either case, my first tab has everything it should have the other tabs have, the other tabs have only the tab name.
Basically, I want to be able to clone my base tab into n number of tabs.
Thanks.
... TabPages.Add(MO.Name)
Or with a tab object assigned to the base form:
Dim NewTab As New TabPage
NewTab = MyBaseTabPage
... TabPages.Add(NewTab)
In either case, my first tab has everything it should have the other tabs have, the other tabs have only the tab name.
Basically, I want to be able to clone my base tab into n number of tabs.
Thanks.