[Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?

cobines cobines at gmail.com
Mon Aug 1 13:44:31 CEST 2011


2011/8/1 John Repucci <john.repucci at gmail.com>:
> I have a fixed row in my SG with the titles for the columns, but when I do a
> SG.clear, the fixed rows are deleted.
> I understand why that is happening (the so-called fixed rows are just row
> [0] within the SG).
>
> However, it would be nice if the fixed rows were not affected by the clear.

Try:

SG.Clean([gzNormal]);

--
cobines




More information about the Lazarus mailing list