B
Brian Tkatch
Guest
With Some_List.Items(Index)
.UseItemStyleForSubItems = False
.SubItems.Add("Test")
.SubItems(1).ForeColor = Color.Red
End With
Thew above code changes the text of Some_List but not the ForeColor. Adding Some_List.Refresh() after the block does not help. Similarly, the following changes the text and the font size but not the forecolor or backcolor:
With Some_List.Items(Index)
.UseItemStyleForSubItems = False
.SubItems.Add("Test", Color.Red, Color.White, Font)
End With
Some_List.Refresh()
Is there something else i need to do to get the color to change?
Continue reading...
.UseItemStyleForSubItems = False
.SubItems.Add("Test")
.SubItems(1).ForeColor = Color.Red
End With
Thew above code changes the text of Some_List but not the ForeColor. Adding Some_List.Refresh() after the block does not help. Similarly, the following changes the text and the font size but not the forecolor or backcolor:
With Some_List.Items(Index)
.UseItemStyleForSubItems = False
.SubItems.Add("Test", Color.Red, Color.White, Font)
End With
Some_List.Refresh()
Is there something else i need to do to get the color to change?
Continue reading...