Visual Basic: Windows Controls

ItemCheck Event (ListView Control)

See Also    Example    Applies To

Occurs when the user checks an item.

Syntax

Private Subobject_ItemCheck ([IndexAs Integer,] ByVal Item As ComctlLib.ListItem)

The ItemCheck event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index An integer that uniquely identifies a control if it's in a control array.
Item Returns a reference to the clicked ListItem object.

Remarks

Checkboxes appear only when the Checkboxes property is set to True, and the View property is set to lvwReport.