How to create a copy of a control

vnarod

Regular
Joined
Mar 22, 2002
Messages
84
I have a tabpage "tabSummary" and I need to add another tabpage on the fly that should look exactly like this one.
How to do it?

I cannot do
Dim tab as New tabSummary , since tabSummary is not a type, only Dim tab as tabPage. And if I write "tab = tabSummary" it will point to the same page.
What should I write?
 
Back
Top