>No, it is not. But, besides creating the objects at runtime (not so good either, huh?), it's the only solution.
I agree, neither of those is very appetizing. But there's another solution, that I first mentioned and Dragan elaborated on, that's the best one for this type of situation: using a custom method which contains all the needed code, invoked first in the container (usually the form) Init, or possibly Activate. It can then be re-called during runtime as needed, and I often find it is needed...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.