Export (0) Print
Expand All

Visual Basic: Windows Controls

Visual Studio 6.0

ItemCheck Event (ListView Control)

See Also    Example    Applies To

Occurs when the user checks an item.

Syntax

Private Sub object_ItemCheck ([Index As 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.

Show:
© 2014 Microsoft