2011/8/2 Graeme Geldenhuys <[email protected]>:
> Then change Clear to simply clear the grid but keep the fix rows.

what about keeping compatibility, many users will be surprised

> Or introduce a boolean parameter to Clear() like what was proposed earlier.
> Yes I fully understand what you wanted Clear to mean - blank the whole
> grid. But clearly that is not what the Lazarus users expect. This is not
> the first time this issue was brought up [and surely not the last], so
> that is just proof of my previous sentence.
>
> Just my 2¢ worth...
>

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

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to