34534534534555
IS-IT--Management
Instead of doing all this:
txt1.Text = BoardArray(1)
txt1.ToolTipText = BoardArray(1)
txt2.Text = BoardArray(2)
txt2.ToolTipText = BoardArray(2)
txt3.Text = BoardArray(3)
txt3.ToolTipText = BoardArray(3)
txt4.Text = BoardArray(4)
txt4.ToolTipText = BoardArray(4)
txt5.Text = BoardArray(5)
txt5.ToolTipText = BoardArray(5)
txt6.Text = BoardArray(6)
txt6.ToolTipText = BoardArray(6)
I want to do:
Dim x As Integer
For x = 1 To 6
txt(x).Text = BoardArray(x)
txt(x).ToolTipText = BoardArray(x)
Next x
But it will not work, who knows why ??
TIA
txt1.Text = BoardArray(1)
txt1.ToolTipText = BoardArray(1)
txt2.Text = BoardArray(2)
txt2.ToolTipText = BoardArray(2)
txt3.Text = BoardArray(3)
txt3.ToolTipText = BoardArray(3)
txt4.Text = BoardArray(4)
txt4.ToolTipText = BoardArray(4)
txt5.Text = BoardArray(5)
txt5.ToolTipText = BoardArray(5)
txt6.Text = BoardArray(6)
txt6.ToolTipText = BoardArray(6)
I want to do:
Dim x As Integer
For x = 1 To 6
txt(x).Text = BoardArray(x)
txt(x).ToolTipText = BoardArray(x)
Next x
But it will not work, who knows why ??
TIA