More out of curiosity than necessity
How would you check all boxes above a selected box, and by that also check all boxes below a selected box.
While playing around i managed an invert selection method
and wondered if the above was possible
TomL
How would you check all boxes above a selected box, and by that also check all boxes below a selected box.
While playing around i managed an invert selection method
VB.NET:
For i As Integer = 0 To Me.Checkedlistbox.Items.Count - 1
If Me.Checkedlistbox.GetItemCheckState(i) = CheckState.Checked Then
Me.Checkedlistbox.SetItemChecked(i, False)
Else
Me.Checkedlistbox.SetItemChecked(i, True)
End If
Next
and wondered if the above was possible
TomL