>if not the how can I see it in the debugging mode?
>
I'm not sure exactly what's wrong but I always set top & left properties when adding new objects. Also put some messagebox after you added an object to the form to see, if it's indeed created.
Can you post the code adding the container?
If it's not broken, fix it until it is.
My Blog