After some testing, I ran into the real problem with using a TDrawGrid
like was suggested. For small data sets its fine, but when I tried to
do something big (5 million rows with 5 columns each) the memory usage
shot through the roof (80 percent of my system resources). Writing the
same test app in Delphi using a TListView with the OwnerData set to
"true" doesn't exhibit that problem. I haven't examined the internals
of these components, but it looks to me like with the TDrawGrid memory
has got to be allocated for each cell anyway, and with the TListView
in virtual mode memory is only allocated when it is needed.

--
Seth Grover
[EMAIL PROTECTED]
http://grovers.us/seth

I'm a driver, I'm a winner. Things are going to change, I can feel it.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to