Should tStringGrid.clear clear column titles? lazarus / 31-LCL ---------------------------------------------------------------------- IPguy · 2011-07-30 02:55 I have a StringGrid with two colums, have set FixedRows = 1 and added column titles to each of columns.  When I initially run this, I see the column titles/headers in the sg, but when I do a sg.clear, the titles go away.  I'm assuming that is because the titles are just another row in the sg. But if the titles are in a fixed row I do not think they should be cleared.  Or am I doing something wrong? Is there a way to bring the title row back after a clear?  Or should I just clear the sg "manually" with a loop starting at row 1? 0.9.31-2.4.4-win32-Vista ---------------------------------------------------------------------- Bart · 2011-07-30 12:59 You can use Code: [Select]Clean(StartCol,StartRow,EndCol,EndRow: integer; CleanOptions: TGridZoneSet); Bart ---------------------------------------------------------------------- IPguy · 2011-07-31 00:44 Thanks Bart.  Good tip. Or (thinking about this after I posted...) I could use the sg.clear then add back in the line and it's contents.