I've already created the controls, however I want to create them inside a container which I've also created programmatically, and have no clue how I should go about doing this, or if it's even possible. In this case, the controls I'm making are basically just being cloned from a control array I already have on the IDE.
VB Code:
  1. Private Sub Command2_Click()
  2.   Dim cCount As Integer, i As Integer
  3.   cCount = 6
  4.   For i = 1 To cCount Step 1
  5.     Load cCompanies(i)
  6.     With cCompanies(i)
  7.       .Height = 400
  8.       .Top = .Height * i
  9.       .Visible = True
  10.       .ZOrder 1
  11.     End With
  12.  
  13.     Load cCompaniesN(i)
  14.     With cCompaniesN(i)
  15.       .Top = cCompanies(i).Top + (cCompaniesN(i - 1).Top - cCompanies(i - 1).Top) 'cCompaniesN(i - 1).Top + cCompaniesN(i).Height
  16.       .Caption = "Test"
  17.       .Visible = True
  18.       .ZOrder 0
  19.     End With
  20. End Sub
cCompaniesN is an array of labels, and cCompanies is an array of Picture Boxes, I want the labels to be contained in each corresponding picture box, because otherwise the labels won't be shown if they are underneath the box (labels = light control, picture box = heavy control, so ZOrder does nothing).

I'm assuming it has something to do with the .Container property, but so far anything I've tried has proved futile, and usually ends up with a type mismatch of some kind...

Anyone have any ideas? Any help would be appreciated..