how to Change the part of the text color in the listview Subitems or List Items?
Printable View
how to Change the part of the text color in the listview Subitems or List Items?
I am using the control from Microsoft Windows Common Controls 6.0 (sp4). You can change the color after you place the text in your listview by changing the forecolor property.
'To Change the first column in your listview:
listview1.listitems(rownumber).forecolor = vbred
'To change subitems:
listview1.listitems(rownumber).listsubitems(columnnumber).forecolor = vbyellow
Thank u for u'r help.
But i need to change part of the text color.
for example the text of listitem or subitem is "This is one example".
I want to change the color of "example"