[DUG] TStringGrid

Robert martin rob at wildsoft.co.nz
Tue Sep 12 10:06:29 NZST 2006


Hi Sorry, I have a solution for this now....

I use the following code to clear the grid before drawing into it.  
Seems to work OK

    aRect := ResultGrid.CellRect(1, 1);
    ResultGrid.Canvas.Brush.Color := clBtnFace;
    ResultGrid.Canvas.FillRect(ARect);

Rob Martin
Software Engineer

phone +64 03 377 0495
fax   +64 03 377 0496
web www.chreos.com

Wild Software Ltd



Robert martin wrote:
> Hi
>
> I am trying to display some values in a TStringGrid.  This is sort of 
> working however one cell is always selected with a blue background.  I 
> really only want to display values but cant seem to get rid of the 
> blue cell selected indicator.  Has anybody else encountered this before?
>


More information about the Delphi mailing list