Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Using TPageControl, how do I create a new page at run time?
Ok, I am writing an IRC client. Each IRC channel that the user is in will be a new tab (using TPageControl). Now, how do I create a new tab when a certain event is triggered? The tab would have to contain the same listboxes and all as the original tab (I created the original tab at design time). Any help would be great, I've been hammering at this all night and can't figure it out.
If you know how to do it using TTabControl please share that with me as well.