I have a TPageControl in the main form. How do I add a new page (TTabSheet) and its contents dynamically ?
For example, when a user click a button, a new page will be added. The new page will have a TPanel and inside the TPanel will have a TMemo.
Also, the new page can be deleted including all its objects, for example by using a delete button.
Please if someone can show me some codes how to do this.