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

Graeme Geldenhuys graemeg.lists at gmail.com
Mon Aug 1 09:13:41 CEST 2011


On 08/01/2011 03:10 AM, John Repucci wrote:
> 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 have raised that issue too. I believe what you have to do, is set the
RowCount property to equal FixedRowCount - instead of calling Clear.

That kind of defeats the purpose of Clear, but hey it's Delphi
compatible, so who cares. ;-)


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list