> The old 'alternating-table-row-color' trick.
> No doubt there's a better way of doing that too.

Thought about using the "one minus 1|0" trick? 

Initialize some int to 1 or 0:

int index = 0;

Then in your loop do:

index = 1 - index;

And set the color based upon some two element array based on index:

color = colorArray[index];


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to