C
cy.johnson
On my access form, I have a ListViewCtrl.
Everything works including figuring out which row the user selected
on.
I can't figure out which column (i.e. subitem) they selected though.
How do I do this?
Details:
ActiveXControl
OLE Class: ListViewCtrl
Class: MSComctlLib.ListViewCtrl.2
Private Sub ActiveXCtl_MyName_Click()
Dim intLoop As Integer
For intLoop = 0 To (Me.ActiveXCtl_MyName.ListItems.count - 1)
If Me.ActiveXCtl_MyNam.ListItems(intLoop + 1).Selected Then
' This is the row that was selected, but how do I figure
out the subitem (or column)
endif
Next intLoop
End Sub
Everything works including figuring out which row the user selected
on.
I can't figure out which column (i.e. subitem) they selected though.
How do I do this?
Details:
ActiveXControl
OLE Class: ListViewCtrl
Class: MSComctlLib.ListViewCtrl.2
Private Sub ActiveXCtl_MyName_Click()
Dim intLoop As Integer
For intLoop = 0 To (Me.ActiveXCtl_MyName.ListItems.count - 1)
If Me.ActiveXCtl_MyNam.ListItems(intLoop + 1).Selected Then
' This is the row that was selected, but how do I figure
out the subitem (or column)
endif
Next intLoop
End Sub