Can someone tell me what a "Control array error" is and how to fix it?
Heres the error i get "Control Array Element "0" Doesn't Exist" And it's with the following code:
It highlights "If PicOpponent(Ind ex).BorderStyle = 0 Then"
Heres the error i get "Control Array Element "0" Doesn't Exist" And it's with the following code:
Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
If PicOpponent(Index).BorderStyle = 0 Then
For i = 1 To 5
PicOpponent(i).BorderStyle = 0
Next i
PicOpponent(Index).ZOrder
PicOpponent(Index).Height = 1512
PicOpponent(Index).BorderStyle = 1
End If
End Sub
It highlights "If PicOpponent(Ind ex).BorderStyle = 0 Then"
Comment