Dynamically add tab sheets to page control and embed a form?
Posted
by
Jerry Dodge
on Stack Overflow
See other posts from Stack Overflow
or by Jerry Dodge
Published on 2012-09-02T03:30:04Z
Indexed on
2012/09/02
3:38 UTC
Read the original article
Hit count: 222
I'm working on a module which consists of a page control. By default, this page control (TPageControl
) shouldn't have any tab sheets (TTabSheet
), but upon initialization, it should dynamically insert these pages and embed a form inside of it.
The issue comes with knowing how to insert a tab sheet into the page control. How do I create this? And once it's created, along with the forms inside each one, how do I iterate through them to destroy the forms?
© Stack Overflow or respective owner