为什么vb程序运行后点击按钮没反应 10
程序:DimiAsIntegerPrivateSubCommand1_Click()Fori=1Toi=3IfChecki.ValueThenForm2.ShowLabe...
程序:Dim i As Integer
Private Sub Command1_Click()
For i = 1 To i = 3
If Checki.Value Then
Form2.Show
Label7.Caption = ""
Else
Label7.Caption = "您没有选择要入库的商品!"
End If
Next i
End Sub
Private Sub Command2_Click()
For i = 1 To i = 3
If Checki.Value Then
Form3.Show
Label7.Caption = ""
Else
Label7.Caption = "您没有选择要退货的商品!"
End If
Next i
End Sub
1 For i = 1 To i = 3
应该为 For i = 1 To 3
2 if Checki.Value Then
应该为 if Check(i).Value Then
改完后还是不能运行 提示子程序或函数未定义 展开
Private Sub Command1_Click()
For i = 1 To i = 3
If Checki.Value Then
Form2.Show
Label7.Caption = ""
Else
Label7.Caption = "您没有选择要入库的商品!"
End If
Next i
End Sub
Private Sub Command2_Click()
For i = 1 To i = 3
If Checki.Value Then
Form3.Show
Label7.Caption = ""
Else
Label7.Caption = "您没有选择要退货的商品!"
End If
Next i
End Sub
1 For i = 1 To i = 3
应该为 For i = 1 To 3
2 if Checki.Value Then
应该为 if Check(i).Value Then
改完后还是不能运行 提示子程序或函数未定义 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询