How can I color the background in a cell when using a browsed source in a table (Array)
In the documentation I have found that to color a specific cell I need to use
<Column control>[<Row>][<Column>].BackgroundColor = <Color value>
In the code:
Open a screen with an array as parameter.
Table content is filled with this array
In Table code
In Display a row in Table_XXX
IF COL_RG1=True THEN
COL_RG2[?][?].BackgroundColor = PastelGreen
ELSE
COL_RG2[?][?].BackgroundColor = PastelRed
END
IF COL_Rh1=True THEN
COL_Rh2[?][?].BackgroundColor = PastelGreen
ELSE
COL_Rh2[?][?].BackgroundColor = PastelRed
END
How can I find the correct row and column while using a browsed source (array) because select is not working (I am not actively selecting)
kind regards,
RdJ
Windev 2024/Webdev 2024