Hi all....yes sadly, I am on the computer on a Sunday....
 
I have this grid which is a Tdrawgrid.
I am filling the specific cells like this :-
 
            rect:=logoGrid.CellRect(ix,iy);
            logoGrid.Canvas.Brush.color:=clBlack;
            logoGrid.Canvas.FillRect(rect);
which is fine, BUT when a form, say a messagebox, goes over top of it, the filled cells loose their canvas fill.
How can I stop this from happening ?
 
I thought of using a 3D Array that held a value if the cell was filled, and when it repaints, it will populate the filled cells from the 3d array.
 
IS there a BETTER way of doing this ?
 
Cheers,
 
Jeremy Coulter

Reply via email to