Hello Daniweb Community,
I was wondering if there is a way to reset a tabcontrol.
What I'm wanting to do is have it so when the user will click New it will reset all the tabpages to the way they were when they started the program up.
I tried this
TabControl1.TabPages.Clear()
TabControl1.TabPages.AddRange({TabPage1, TabPage2, TabPage3, TabPage4})
But all it does it remove the pages then re-add them with all the data still there.