Disabling CheckBoxes

Posted by bbesase on Stack Overflow See other posts from Stack Overflow or by bbesase
Published on 2013-08-02T15:33:20Z Indexed on 2013/08/02 15:35 UTC
Read the original article Hit count: 59

Filed under:
|

If I have 4 different CheckBoxes and when the user selects one of them I want the other 3 to become disabled so you can't click on a checkbox while another one is already checked how would I go about doing this? I have this, but it doesnt work right now and I thought it would:

    If NoDelayCheckMarkBox.Checked = True Then
        timeBetweenIterationDelay = 0
        SecondDelayCheckMarkBox.Enabled = False
        HalfSecondDelayCheckMarkBox.Enabled = False
        FiftyMSDelayCheckMarkBox.Enabled = False

I can still click as many check boxes as I want too. Thank you for any help.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about checkbox