[Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?
John Repucci
john.repucci at gmail.com
Tue Aug 2 16:08:46 CEST 2011
>
> Date: Tue, 2 Aug 2011 13:36:20 +0200
> From: t.wieckowski at gmail.com
> Subject: Re: [Lazarus] Should StringGrid1.Clear clear the fixed rows /
> columns?
> To: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
> Message-ID:
> <CAH1BdD_233pMFCTznEV51gCuGyGq1Jb1s3xGQ9aMYFx2-OuwGg at mail.gmail.com
> >
> Content-Type: text/plain; charset=UTF-8
>
>
> I don't see the problem, current behavior of the Clear method is ok for me.
> This problem can be easily solved by setting StringGrid1.RowCount or
> StringGrid1.Rows[i].Clear.
>
> Regards,
> Tomek
>
> The above works well for header ROWs, but not for a header COLUMN and will
not work in the case where both FixedRow and FixedColumn are being used and
the user wishes to preserve them rather than rebuilding them everytime they
want to clean up the SG.
- John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110802/8adffb1d/attachment-0003.html>
More information about the Lazarus
mailing list