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

Jürgen Hestermann juergen.hestermann at gmx.de
Tue Aug 2 18:42:25 CEST 2011



Hans-Peter Diettrich schrieb:
> John Repucci schrieb:
>> 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.
> I do not see the problem. Put the initialization code for the fixed 
> rows/cols into a subroutine, and call it whenever needed.
>
>
Not very elegant to repeat the initialization over and over again. This 
may lead to flicker and there is also the possibility that it is skipped 
because of unexpected procedure exit or whatever.





More information about the Lazarus mailing list