>wBox=vbox.rawChildren.getChildByName("lstControl");

>lstControl= new List();
>vbox.addChild(lstControl);

This probably belongs on the user list. So, continued the discussion there. 
getChildByName() works based on the child's name, not the name of a variable 
that you used to instantiate and add the child.

Also, there is no need to use rawChildren here.

If in your b1_clickHandler you said:

Alert.show( vbox.numChildren) you should see it has 3.

Mike

Reply via email to