How Do You Change the Background Colors of Labels?

10-29-2006, 03:42 PM
This might sound like a really silly question, but I really am stuck!

What I have to do is write an application to mimic the National Lottery. I have six labels across the application which generate and sort random numbers between 1-49.

I need to set the background colors of the labels according to the results, i.e yellow for numbers between 40 and 49 etc.

Any help is greatefully appreciated!



10-29-2006, 07:16 PM
Use if statements to check the range of values. (Use the greater than/less than operators)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum