Question on C# using VB.net
quick basic q for any programmers out there.....
im just wondering if anyone can tell me how to change a label colour on a windows application when a certain value is reached? i.e. if the user inputted the number 10 then a label would change colour?
Its probably so so simply for any programmer but i have to be honest its not my strongest point and im basically doing it for my degree (and i need to pass this module!)
cheers
im just wondering if anyone can tell me how to change a label colour on a windows application when a certain value is reached? i.e. if the user inputted the number 10 then a label would change colour?
Its probably so so simply for any programmer but i have to be honest its not my strongest point and im basically doing it for my degree (and i need to pass this module!)
cheers
Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking
Comments
-
dtlokee Member Posts: 2,378 ■■■■□□□□□□Something like this?
Label1.ForeColor = Color.FromArgb(255, 255, 0, 0)
The only easy day was yesterday! -
nel Member Posts: 2,859 ■□□□□□□□□□thanks for that its slow close to what i need, do you know where i can get the codes for the different colours? as i just need to set colours red and blue!Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking -
nel Member Posts: 2,859 ■□□□□□□□□□Thanks man, your a hero.
really appreciate the help.Xbox Live: Bring It On
Bsc (hons) Network Computing - 1st Class
WIP: Msc advanced networking