<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>22 Jun 2015 08:07:00 Z</lastBuildDate><pubDate>21 Jun 2015 19:57:00 Z</pubDate><description>Hi,&#13;
&#13;
I want to colorize the Background of a table cell depending on a value in that table&#13;
&#13;
The following code is in the 'Displaying a row of table' code section:&#13;
&#13;
SWITCH Tabelle.COL_OIDAuftragStatus&#13;
CASE 1 : Tabelle.COL_Flag..BrushColor = iWhite&#13;
CASE 2 : Tabelle.COL_Flag..BrushColor = iLightGreen&#13;
CASE 3 : Tabelle.COL_Flag..BrushColor = iLightBlue&#13;
CASE 4 : Tabelle.COL_Flag..BrushColor = iLightRed&#13;
OTHER CASE : Tabelle.COL_Flag..BrushColor = iBlack&#13;
END&#13;
&#13;
This does not work, obviously because I have to index the table line like&#13;
&#13;
Tabelle[5].COL_Flag..BrushColor = iLightGreen&#13;
&#13;
Colors the cell in the fifth line. Thjs works, but how to Color the actual line, means how do I get the actual line number of the line while this code is running (replacing the fix number '5')&#13;
&#13;
The SWITCH Statement works correct, the correct Color is choosen.&#13;
&#13;
Any ideas?&#13;
&#13;
Erik</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem/read.awp</link><title>[WD19] Coloring a cell in a table problem</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem-52839/read.awp</comments><pubDate>22 Jun 2015 08:07:00 Z</pubDate><description>Hi Al,&#13;
&#13;
that does it :spos:&#13;
&#13;
Thanks ;)&#13;
&#13;
Erik</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem-52839/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem-52839/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem/read.awp">[WD19] Coloring a cell in a table problem</source><title>Re: [WD19] Coloring a cell in a table problem</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem-52835/read.awp</comments><pubDate>21 Jun 2015 20:14:00 Z</pubDate><description>Hello Eric&#13;
&#13;
Your topic mentions cell so you will still need the column number to do that but the whole line is :&#13;
Tabelle[Tabe…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem-52835/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem-52835/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52832-wd19-coloring-cell-table-problem/read.awp">[WD19] Coloring a cell in a table problem</source><title>Re: [WD19] Coloring a cell in a table problem</title></item></channel></rss>
