L
luca.gere
I have a problem.
I'd like, when i click on a button , to check all the checkbox that i
have in the form.
I have tried with :
For Each Myobj As Control In Me.Controls
If TypeOf Myobj Is CheckBox Then
If Myobj.checked Then
...
...
...
End If
End If
Next
but i have an error on myobj.checked :
'checked' in not a member of 'system.windows.forms.controls'
Thank you
Luca
I'd like, when i click on a button , to check all the checkbox that i
have in the form.
I have tried with :
For Each Myobj As Control In Me.Controls
If TypeOf Myobj Is CheckBox Then
If Myobj.checked Then
...
...
...
End If
End If
Next
but i have an error on myobj.checked :
'checked' in not a member of 'system.windows.forms.controls'
Thank you
Luca