FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Clearing a TabControl

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
nomadjourney



Joined: 16 Dec 2007
Posts: 4

PostPosted: Sun Dec 16, 2007 12:19 pm    Post subject: Clearing a TabControl Reply with quote

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
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Mon Dec 17, 2007 7:44 am    Post subject: Re: Clearing a TabControl Reply with quote

Code:
mytabcontrol.tabPages.clear();
removes all the tab pages.
Back to top
View user's profile Send private message
nomadjourney



Joined: 16 Dec 2007
Posts: 4

PostPosted: Mon Dec 17, 2007 9:16 am    Post subject: Reply with quote

Awesome! Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group