[RESOLVED] Set listview subitem forecolor
Hi I have a listview two colums I am trying to set the forecolor of the subitem I tryed this as a test but not seem to work
Code:
LstItems.Items(1).SubItems(1).ForeColor = Color.Blue
I even tryed in my loop with setting the subitem but still nothing
Code:
lvItem.SubItems.Add(State, Color.Red, Color.White, Nothing)
Any ideas?
Re: Set listview subitem forecolor
I think I fixed it needed to use
Code:
lvItem.UseItemStyleForSubItems = False
'Add sub item.
lvItem.SubItems.Add(State, Color.Red, Color.White, Nothing)