View Single Post
Old Nov 1st, 2005, 4:53 AM   #5
Meka][Meka
Newbie
 
Join Date: Oct 2005
Posts: 6
Rep Power: 0 Meka][Meka is on a distinguished road
Quote:
Originally Posted by ekamaloff
It would be better :

Randomize;
lblColour.Color := RGB(Random(256),Random(256),Random(256));
no... there is no such thing as RGB(256,256,256), this is byte sizes not mb of ram etc....255 is highest u can go, 256 is out of bounds....

RGB(255,255,255) = $FFFFFF = clWhite
__________________
']['€AM€LiT€

Meka-Meka Programming Forums
Meka][Meka is offline   Reply With Quote