ItemCheck

Occurs when a ListBox control Style property is set to 1 (checkboxes) and an item's checkbox in the ListBox control is selected or cleared.

Syntax

Private Sub object_ItemCheck()

Remarks

The ItemCheck event does not occur when a list item is only highlighted; rather, it occurs when the check box of the list item is selected or cleared.

The ItemCheck event can also occur programmatically whenever an element in the Selected array of the ListBox is changed (and its Style property is set to 1.)

The ItemCheck event occurs before the Click event.