Hi,
I am working with ListView. How can a ListView have multiple columns and also have CheckBox at the same time? (preferably in its View property set as "Report")

To enable check boxes:
When you have added a list view control to your form, right click any where on list view control and select general tab in property pages.
1) Enable check box named "Checkboxes"
2) Select "3-Report" in view property.

To have multiple check boxes select "Column Headers" tab in property pages and add columns using "Insert Column" Button and text in the Text property simultaneously, you can add or remove columns later at run time through code also.

The following example shows how to add ColumnHeaders and several ListItem objects with subitems to a ListView control.

Private Sub Form_Load()
   Dim clmX As ColumnHeader
   Dim itmX As ListItem
   Dim i As Integer

   For i = 1 To 3
      Set clmX = ListView1.ColumnHeaders.Add()
      clmX.Text = "Col" & i
   Next i
   
   ' Add 10 items to list, all with the same icon

   For i = 1 To 10
      Set itmX = ListView1.ListItems.Add()
      itmX.SmallIcon = 1
      itmX.Text = "ListItem " & i
      itmX.SubItems(1) = "Subitem 1"
      itmX.SubItems(2) = "Subitem 2"
   Next i
End Sub

Hope this will help you.

Thanks vipin saxena,
I have been trying on this, now i understand where i had missed.

Thanks !

Is it possible to get more then one column of checkboxes? I know the setting ListView1.Checkboxes = True/False. But then the checkboxes are only in the first column.

I created a ListView, but now the ListItems in the ListView is editable, but I want to lock the editing for the ListView.
How is that possible?

This question has already been answered. Start a new discussion instead.