OnCellClick i am trying to change color
if arow>0 then
case acol of
1,2,3,4:
if fncgrid.Colors[acol,arow]=gcYellow then fncgrid.Colors[acol,arow]:=gcNull else fncgrid.Colors[acol,arow]:=gcYellow;
end;
Not working. I try clearnormalcells and update data on cells and works like this
click cell[1,1] goes yellow click cell [2,1] goes yellow then click [1,1] and still remans yellow till i click another cell.
Also when i clear all colors with
for c := 1 to 4 do
for r := 1 to fncgrid.RowCount-1 do
fncgrid.Colors[c,r]:=gcNull;
everything goes white but when i click a cell not goes yellow.