str_Text_Line_02_Text_02.ForeColor = Colors.White; // Working
bold]/str_Text_Line_02_Text_02.ForeColor = Colors.Green;/[/b] // Doesn’t Work !!!
str_Text_Line_02_Text_02.TextContent = “OK”;
}
/Next code taken off for clarity/
} #endregion Methode Evenementielle du Timer
[/b]
If I use str_Text_Line_02_Text_02.ForeColor = Colors.White; OK appears in White,
If I use str_Text_Line_02_Text_02.ForeColor = Colors.Yellow; OK appears in Yellow,
If I use str_Text_Line_02_Text_02.ForeColor = Colors.Cyan; OK appears in Cyan,
If I use str_Text_Line_02_Text_02.ForeColor = Colors.Green; Nothing appears at all ??
Doesn’t Work :
str_Text_Line_02_Text_02.ForeColor = Colors.Green;
Works perfectly well on T35 display:
str_Text_Line_02_Text_02.ForeColor = ColorUtility.ColorFromRGB(0x00, 0xFF, 0x00); //Lime
EX.:
static Color myLime_Color = ColorUtility.ColorFromRGB(0x00, 0xFF, 0x00);
Sorry for Delay,
I will simplify the project & send it by eMail to you…
PS: it is a part of an professionnal project, some icons are copyrighted, Please do not transmit the project,
I’ve bought FEZHydra to test if my display’s bug persists, (and also for test)
But I can’t deploy it to FEZHydra (?)
FEZHydra is powered & OnBoard Led is flashing but : VS2010 Prof. can’t deploy even a simple application as : Debug.Print(“Program Started”); (the default program).
It detects FEZHydra [Transport : USB Device : FEZ Hydra_FEZHydra ]
But : I’ve a deployment error ! : Error 1 An error has occurred: please check your hardware.
What did I make as mistake ?
I’ve started MF Deployment Tool & erased FEZHydra : It did it correctly (
Ready.
Cannot find any entrypoint!
Done.
Waiting for debug commands…
)
Now, the LED does not flash any more, but still : Error 1 An error has occurred: please check your hardware.
(Can you also send me a link to send you the simple Display projet with my bug?)
Hello again,
Concerning my display’s bug : This is really a problem with Green color ! :
As I’m devopping WPF projects for PC, I’ve replaced : Colors.Green by Utility.ColorFromRGB(0x00, 0xFF, 0x00) which is not green but Lime, a color I’m using currently…
I tried with real equivalent Green color : ColorUtility.ColorFromRGB(0x00, 0x80 , 0x00); //Green it doen’t work same than Colors.Green !!!
To sum up : Doesn’t Work on T35 display:
str_Text_Line_02_Text_02.ForeColor = Colors.Green; OR
str_Text_Line_02_Text_02.ForeColor = ColorUtility.ColorFromRGB(0x00, 0x80 , 0x00); //Green
Works perfectly well on T35 display:
str_Text_Line_02_Text_02.ForeColor = ColorUtility.ColorFromRGB(0x00, 0xFF, 0x00); //Lime
I tried with a standard WPF appl .Net Framework for PC :
On a black window’s background :
Green is very dark compare to Lime which is a “light” green.
On T35 display .NETMF :
Lime is very clear & “very visible” but Green is not visible at all independly of the instruction : ColorUtility.ColorFromRGB(0x00, 0x80 , 0x00) is not better than Colors.Green;