Faster StringGrid lazarus / 1-Linux ---------------------------------------------------------------------- faber · 2008-01-03 08:38 Hi, I made app with StringGrid as spreadsheet but have some problems with delay on some operations on cells (move -key left right, past ...) when RowCount is big (about 2000 - 4000). Linux and Windows. Is there any way to speed up StringGrid ? I've some code OnDrawCell but without this code diffirent is verry small. I'll be greatly appreciated for any help. thx ---------------------------------------------------------------------- antonio · 2008-01-03 13:26 You should check the string grid source code for this. ---------------------------------------------------------------------- Dr.Theopolis · 2008-01-03 17:03 LOL Why didn't you just say "Sorry I can't help you, go help yourself" ---------------------------------------------------------------------- Phil · 2008-01-03 17:31 Quote from: "faber"I'll be greatly appreciated for any help. It's possible that TStringGrid was never intended for that many rows since it stores all data as strings in the grid. Have you looked at the ported Orpheus TOvcTable grid control? All data is stored external to the table in your program or database and your program supplies the cell data and its formatting "on demand" via event handlers. http://wiki.lazarus.freepascal.org/OrphPort Thanks. -Phil ---------------------------------------------------------------------- faber · 2008-01-03 17:46 Quote from: "antonio"You should check the string grid source code for this. Oh I didn't think about it, thanks. you are verry clever. Thanks Phil, I'll check TOvcTable grid.