Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在选项组中有 2 个复选框,“我练习”和“我想练习”。多亏了选项组,如果勾选了一个复选框,则未勾选另一个。
但是,我还希望能够通过再次单击复选框来取消选中它......但我不知道该怎么做。
如果有人有想法!
由于您只有 2 个复选框,因此您可以分别将此子例程添加到每个复选框:
Private Sub Check1_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single) If Not Frame0 = 0 Then Frame0 = 0 End Sub
这假设帧被称为Frame0,但可以很容易地修改。
我很惊讶没有默认功能。
添加第三个复选框:以上都不是,或者我不练习