Public Function adjustListviewColour(objListview As ListView, lIndex As Long, lColour As Long)
Dim i As Integer
Dim lLvColumnCount As Long
lLvColumnCount = objListview.ColumnHeaders.Count - 1
objListview.ListItems.Item(lIndex).ForeColor = lColour
For i = 1 To lLvColumnCount
Dim lsitem As ObjectobjListview.SelectedItem.ListSubItems.Item(i).ForeColor = lColour
Next
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.