Witam,
Jak prawidłowo wykonać taką pętlę 100 razy ?
Żeby Image1-Image100 zapełniły się odpowiednią grafiką.
Wiem, że można 100 razy napisać:
Image1->Picture->LoadFromFile("img/white.bmp");
Image2->Picture->LoadFromFile("img/white.bmp");
Image3->Picture->LoadFromFile("img/white.bmp");
Lecz to trochę głupie :)
for (int i = 0; i < 100; i ++)
{
Image1->Picture->LoadFromFile("img/white.bmp");
}