Again, which framework/toolkit do you use to create the GUI? Be aware that C++ itself does
not provide any GUI features, but there are many GUI toolkits/frameworks written in C++ (Qt, wxWidgets, etc. pp.)
But from your error message, it would seem like you are using Microsoft.NET,
not C++.
Anyways, just a wild guess: If you have such a
huge number of labels, it's probably
not a good idea to create them all in the GUI designer. Instead, try creating them
dynamically, in the program code. Like this:
1 2 3 4
|
for (int i = 0; i < 100; ++i)
{
layout.addWidget(new Label(/*...*/));
}
|
(Of course, the details depend on which GUI framework/toolkit you are using!)