Przede wszystkim zostaw ten cały C++ Builder bo to nieziemski syf.
A co do problemu:
Jeśli wszystkie elementy są tego samego typu, lub mają wspólną klasę bazową to:
Załóżmy, że są tego samego typu T:
#include <vector>
T Text1, Text2, Text3; // itd itd
int main()
{
std::vector<T*> components = { &Text1, &Text2, &Text3, ... };
int x = 30;
components[x]->height = ...;
}