点击按钮全选,所有复选框选中,再次点击,全部取消选中js 5
1个回答
2018-06-05 · 知道合伙人互联网行家
关注
展开全部
先画一个复选框组check1(0),check1(1),check1(2),
画几个根据情况定:
Private Sub Command1_Click()
Dim i As Integer
For i = 0 To 2
Check1(i).Value = 1
Next i
End Sub
Private Sub Command2_Click()
Dim i As Integer
For i = 0 To 2
Check1(i).Value = 0
Next i
End Sub
画几个根据情况定:
Private Sub Command1_Click()
Dim i As Integer
For i = 0 To 2
Check1(i).Value = 1
Next i
End Sub
Private Sub Command2_Click()
Dim i As Integer
For i = 0 To 2
Check1(i).Value = 0
Next i
End Sub
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询