Hi

How can I to lock checkbox in listview, for to user, The user can run in scrollbar, but he can not to check or uncheck when frame3 is disabed.

I tried code below


Code:
Private Sub lvwGrupoProduto_ItemCheck(ByVal Item As MSComctlLib.ListItem)
  If Frame3.Enabled = False Then
     If Item.Checked = True Then
         Item.Checked = False
     Else
         Item.Checked = True
     End If
         
     
  End If
End Sub
But when I read data from table I want to check using code, I thought in to use before read code from table put

Code:
   frame.enabled = true
Is there other way ?