Ok.. I have a small loop that creates a new PANEL, After each panel is created I also am creating a new LABEL within that panel.. as its child.
The problem is I only get one LABEL in the first PANEL?
Thanks in Advance..
Code is below..
Dim panelx(10) As Panel
Dim labelx(10) As Label
CNT = 0
For looper = 1 To 9
panelx(looper) = New Panel
labelx(looper) = New Label
panelx(looper).BorderStyle = BorderStyle.FixedSingle
panelx(looper).BackColor = Color.Pink
panelx(looper).Width = 123 * looper
panelx(looper).Height = 123
panelx(looper).Location = New Point(10, 10)
ToolTip1.SetToolTip(labelx(looper), ".." & looper)
labelx(looper).Location = New Point(-1, -2)
labelx(looper).MinimumSize = New Size(24, 24)
labelx(looper).Size = New Size(24, 24)
labelx(looper).TextAlign = ContentAlignment.MiddleCenter
labelx(looper).BackColor = Color.GreenYellow
labelx(looper).Text = looper.ToString