Hi everybody !!
I actually have 2 questions to ask here (that belong together)
I'm writing a Windows Form Application with Visual C++ 2005, and I was wondering if anyone knows how to create a list of labels in there ??
I would like to create a list to manage the capacities of a flow network, in a better way than label1->Text=..., label2->Text=..., label3->Text=...
Is there a way do an iteration ? Like : for(...) Label[i]->Text=...
I tried to look in the Code (Form1.h) how those Labels are declared, hoping to create a pointer, but instead I found this :
1 2 3 4
|
System::Windows::Forms::Button^ initBtn;
System::Windows::Forms::GroupBox^ groupBoxGraphe;
System::Windows::Forms::Label^ labelCapRes;
System::Windows::Forms::PictureBox^ pictureBoxGrapEc;
|
And here comes the second question :
Does anyone know what this symbol means '^' ???
Becaus I did find something about the variable that is pointed by the pointer... but in Pascal !! And I'm working in C++ here... -_-
Thanks in advance for your answers.