>I have tried multiple colors in a grid before but so far have not cracked it even with help from the experts
>
>Let me try again
>
>I have a table called manifest which has a field called status
>
>If status is A I want to color the row blue
>If B the row will be red
>If C the row will be green
>
>How do I do it?
>
>A real layman's explanation would be greatly appreciated
>
>Thanks
>
>Colin Northway
another way ( rigid ( ABCDE... only ) but faster.
AND NOT HARD CODED !!!
this.addproperty("statusColor[3]")
this.statusColor[1] = 0xFF0000
this.statusColor[2] = 0x00FF00
this.statusColor[3] = 0x0000FF
this.Setall('DynamicBackColor';
,'this.statusColor[ASC(manifest.status)-64]')
extreme rigid but faster:
this.Setall('DynamicBackColor';
,'BITLSHIFT(255,8*(ASC(manifest.status)-65])')