[Lazarus] Should StringGrid1.Clear clear the fixed rows / columns?
t.wieckowski at gmail.com
t.wieckowski at gmail.com
Tue Aug 2 17:47:51 CEST 2011
2011/8/2 John Repucci <john.repucci at gmail.com>:
> The above works well for header ROWs, but not for a header COLUMN
same for cols -> StringGrid1.ColCount , StringGrid1.Cols[i].Clear
> 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.
if both then the size will not change, so Clean method (with range) is
enough (only one loop for SG.Objects if needed)
Regards,
Tomek
More information about the Lazarus
mailing list