The question arose: is it possible to create an array of components of different types?
Very often you need to perform the same action for many objects, for example, to change a property:
TButton *a[]={Button1,Button2,Button3}; for (int i=0;i<sizeof(a)/sizeof(a[0]);i++) a[i]->Enabled=true; But what if the components are different, but they have some identical property that needs to be changed? Is it possible to accomplish this?