Hi!
Why you think that "shadow" part of the table are redundant colours? They're different from other colours just because they're quite different. For example, try to find RGB(88,116,60) colour in the table generated by first part of the code.
There is no such colour because it have less contrast then others in the first part of table. And usually these colours used by users in the interface because they cause less tiring for eyes.
>>>Michel, you must change the table size to 37*31 to see the rigth stuff :-)
>>>
>>>(now it is 36*32)
>>
>>I changed it. What about now? I'm not sure about the bottom part. There seems to be an offset.
>
>Now it's OK.
>
>You can remove the "shadow" part of the code and resize your table to 25*31.
>The shadow colors are redondant (bottom of the grid)...
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.