>I am adding a container to a form at run-time using newobject. I am setting up visible property to true. At the run time I dont see the container but if I run code thru Debugger it works fine. Any idea what the problem is?
You need to set the .visible=.t. in code, after the object instantiated. The newobject()ed visual objects start up as invisible, no matter how is it defined in their classlib. That gives you a chance to set their other properties before you show them, without flicker.