View previous topic :: View next topic |
Author |
Message |
nomadjourney
Joined: 16 Dec 2007 Posts: 4
|
Posted: Sun Dec 16, 2007 12:19 pm Post subject: Clearing a TabControl |
|
|
Hi there,
What is the easiest way to clear the contents of a TabControl? Meaning, clear all the TabPages contained within a TabControl without actually destroying it... Thanks.
Best regards,
Nizam |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon Dec 17, 2007 7:44 am Post subject: Re: Clearing a TabControl |
|
|
Code: | mytabcontrol.tabPages.clear(); | removes all the tab pages. |
|
Back to top |
|
|
nomadjourney
Joined: 16 Dec 2007 Posts: 4
|
Posted: Mon Dec 17, 2007 9:16 am Post subject: |
|
|
Awesome! Thanks. |
|
Back to top |
|
|
|