只有 Index=0 才能响应。 labChar(0).Width = 9
labChar(0).Height = 18
labChar(0).BorderStyle = 0
labChar(0).Caption = " "
labChar(0).Move RectLeft + 1, RectTop + 3
For i = 1 To 659
Load labChar(i)
labChar(i).Visible = True
labChar(i).Caption = "M"
labChar(i).Top = FontHeight * (i \ 44) + (RectTop + 3)
labChar(i).Left = (RectLeft + 1) + (i Mod 44) * FontWidth
Next i
labChar(0).Height = 18
labChar(0).BorderStyle = 0
labChar(0).Caption = " "
labChar(0).Move RectLeft + 1, RectTop + 3
For i = 1 To 659
Load labChar(i)
labChar(i).Visible = True
labChar(i).Caption = "M"
labChar(i).Top = FontHeight * (i \ 44) + (RectTop + 3)
labChar(i).Left = (RectLeft + 1) + (i Mod 44) * FontWidth
Next i
MsgBox Now'这里就可以触发了
End SubPrivate Sub Command1_Click()
labChar(0).Width = 9
labChar(0).Height = 18
labChar(0).BorderStyle = 0
labChar(0).Caption = " "
labChar(0).Move RectLeft + 1, RectTop + 3
For i = 1 To 659
Load labChar(i)
labChar(i).Visible = True
labChar(i).Caption = "M"
labChar(i).Top = FontHeight * (i \ 44) + (RectTop + 3)
labChar(i).Left = (RectLeft + 1) + (i Mod 44) * FontWidth
Next i
End Sub
If Index=某数 Then
事件
Endif
End Sub