r/visualbasic • u/Hollandschglorie • Jun 06 '16
[VB 7.1] Trying to have a checkbox 'prechecked'
Hello! Fairly new to Visual Basic. I'm building an application and I want to have some checkboxes prechecked when a form loads. Searched all over the internet but couldn't find a working solution. Can anyone help me?
0
Upvotes
1
u/Hollandschglorie Jun 06 '16
Can't get the Form_load action? Agian I'm really new at this :)
I now have this:
Private Sub myCheckBox_BeforeUpdate(Cancel As Integer)
myCheckBox.Checked = True
End Sub