Tab Controls

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kelvin.koogan@googlemail.com

    #1

    Tab Controls

    I want a number of components to provide their own property pages. I
    am doing this by creating a form with a tabbed control in each and
    then copying the tabs into a single form, e.g. by

    DialogB ^dlg = gcnew DialogB();

    while (dlg->tabControl1->TabCount)
    {
    this->tabControl1->TabPages->Add(dlg->tabControl1->TabPages[0]);
    }

    Is this a mad thing to do?

    I am perplexed. Why when I do this do the tab pages get removed from
    the dialog I am copying them from?

    TIA,
    KK
Working...