Amiras

Amiras

  • NA
  • 2
  • 0

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

Jan 26 2010 8:35 AM
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)