Hi, for starters i am very new to VB and i am trying to self teach myself(not going to well). i have started a hang man program but i am lost on how to refrence lbls that i have made into a list of lables. the code listed below is a function that adds lables to a form based on a word size. If anyone can help me reference these labels so i can check them and then make them visible it would be very much appriciated. thanks in advance
Dim ret As New List(Of Label)
Dim curtop As Integer = 103
Dim curleft As Integer = 122
For Each C As Char In word
Dim lbl As New Label
lbl.Visible = False
lbl.Text = C
lbl.Top = curtop
lbl.Left = curleft
curleft += 40
ret.Add(lbl)
Next
Return ret.ToArray
End Function