主讲老师:郭盛华
多选框与单选框:
CheckBox
多选框与单选框不同的是,可以同时选择多个!
常用属性:Checked 是否选中
Private Sub Command1_Click()
If Check1.Value = 1 Then
MsgBox "选中"
Else
MsgBox "未选中"
End If
End Sub
Private Sub Command2_Click()
If Option1.Value = True Then
MsgBox "选中"
Else
MsgBox "未选中"
End If
End Sub
具体请看视频教程:微博@郭盛华老师