Object Array.

2006-09-07 01:10:06 PM
I don't know if the title is correct, but this is my doubt:
Is there possible to create, using Borland C++ Builder, an Array of
For example:
In a form I create 10 buttons: B0,B1...B9
Is possible to create an array with those existing buttons, the main
pourpose of that is change properties, for example:
for(int i = 0 ; i<10;i++)
Arrayofbuttons[i]->Font->Color = clBlue;
//Arrayofbuttons[0] is B0, Arrayofbuttons[1] is B1, etc.
Is this possible?