just started a module in VB and im struggling on this :D
lecturer says i must use "with-end with" statements to clear 3 checkboxes i have in a groupbox
obviously unchecking checkboxes 1 by 1 isnt an issue, but this with-end with statement has me puzzled :)
i understand its use when im trying to change multipe properties of 1 object, a textbox, label etc, but im struggling to understand how i can use it to change 1 property of multiple objects :)
got it now :)
I hope youre using a for-each next loop with your with end-with block :)
aye always find a for each better
for each chkbox in etc...
chkbox.checked = false
next