1
Answer

Mix System::Windows::Forms::TabPage ^ + int ?

Amiras

Amiras

15y
2.9k
1
For example I have TabPage1, TabPage2 and TabPage3.

how could I change some attribute of TabPage1, only knowing the number 1.

it should look like this, afcourse id does now work.

void somefunction(int id) {
System::Windows::Forms::TabPage^ nameee = "TabPage"+id;
nameee->ImageIndex = 2;
}

Any ideas?
Answers (1)