How can I Change color of text?
Hi!
I'm a newbie, and i've tried to look at msdn.microsoft.com but I can't find out how to change the ForeColor of a specifik piece text (string) ex:
Loading Program....... OK ( then I want to turn the "OK" Green!! )
I've tried something like this:
public string ColorChange1()
{
string color;
logview.Text = testcase.TestResult.Ok.ToString();
logview.ForeColor = Color.Green;
color = logview.Text.ToString();
return color;
}
But All it does is turn the hole listview(logview) text green.
I'm in the dark here....
Hope one of you kind souls out there could point me in the right direction..
Allan Petersen (Denmark)