same object in different panels?
I do not understand why same object do not show in all panels I add it, only in first.I have to create a new label with same text and then use it.
For example i have label1, and if i use:
1 2
|
panel1->Controls->Add(label1);
panel2->Controls->Add(label1);
|
it will be only shown in panel1.
Btw i swich panels like in this way, may be wrong:
1 2
|
Controls->Clear();
Controls->Add(panel2);
|
You're not actually expecting us to automatically know what this interface belongs to, are you?
I am sorry for stupid and innacurate questions, I'm new to c++, found information myself. :)
Topic archived. No new replies allowed.