I'm actually still struggling with a problem I posted earlier. My original problem was the creation on controls at runtime without having to use control arrays (As I was placing a usercontrol within itself to form a kind of tree).<br><br>This was answered by the user GTO, they pointed me to a HOWTO on dynamic control creation.<br><br>An example of dynamic control creation:<br><br> Dim WithEvents ctlDynamic As VBControlExtender<br><br> Private sub Form1_Load() <br> Licenses.Add "MSComctlLib.TreeCtrl"<br> Set ctlDynamic = Controls.Add ("MSComctlLib.TreeCtrl","myctl", Form1)<br><br> ctlDynamic.Move 1, 1, 2500, 3500<br> end sub<br><br> Private Sub ctlDynamic_ObjectEvent(Info As EventInfo)<br> ' test for the click event of the TreeView<br> If Info.Name = "Click" Then<br> ctlText.Text = "You clicked " & ctlDynamic.object.selecteditem.Text<br> End If<br> End Sub<br><br>The problem I have is that although now I can create the controls at runtime I can only create one. My usercontrol needs to be able to create multiple children(with each child able to do the same). So I guess I'm asking how do I create a control array dynamically, as the following line does not work.<br><br>private withevents ctlDynamicArray() as VBControlExtender<br><br>This seems to be the last snag in my control (I shouldn't have said that) so any feedback/solutions would be very very greatly appreciated.<br><br>Nick. <p>Nicholas Clark<br><a href=mailto:nhc@operamail.com>nhc@operamail.com</a><br><a href= > </a><br>