I am populating a msflexgrid either from a file or by user input. If the value in any row for column 5 is > 50 and < 200 then the cell backcolor for that cell is red else white.
Doing this is not an issue. The issue lies in that column 5 for any particular row may not get the focus. We have locks on certain columns depending on what is entered in earlier columns.
example: If inputing data and col 1 for a particular row is 1 then allow focus to coloumns 2, 3 and 7 of that row etc.
If input data for col 1 is 2 then allow focus to columns 2, 3 and 5
Problem is that if the user changes the value in column 1 from 2 to 1 and the value in column 5 had been 60 - the cellbackcolor of column 5 for the row is red. Since column 5 can not get the focus now - I can't change the cell back color
Is there anyway of changing a cells backcolor without activating cell enter?
Doing this is not an issue. The issue lies in that column 5 for any particular row may not get the focus. We have locks on certain columns depending on what is entered in earlier columns.
example: If inputing data and col 1 for a particular row is 1 then allow focus to coloumns 2, 3 and 7 of that row etc.
If input data for col 1 is 2 then allow focus to columns 2, 3 and 5
Problem is that if the user changes the value in column 1 from 2 to 1 and the value in column 5 had been 60 - the cellbackcolor of column 5 for the row is red. Since column 5 can not get the focus now - I can't change the cell back color
Is there anyway of changing a cells backcolor without activating cell enter?