I use a memo to show what is going on a server app. It's a standard TMemo
which only holds so much data - when it gets full, it deletes lines from
the top before appending to the bottom. Is that an option?
Also, I once created a grid that worked off an internal array. The
TStringGrid never had more records in it than what was displayed on the
screen at that time (about 20). I didn't use the scroll bar on the grid,
but had a separate one that looked like it was attached. It was _very_ fast.
That being said, I have to agree with John - there's almost never a good
reason to have that many records instantly accessible. And that applies to
the time I did it as well - there were better ways.
Ed
At 17:26 16/07/2001 +1200, you wrote:
>Heh, I wish it were that easy :-)
>
>My app iterates through a list of files and generates MD5 checksums for
>them. Some of my users wish to checksum entire HDDs which contain (I am
>told) millions of files. Asside from simply displaying a progress (No reason
>I coudn't except vanity) there's no way to cut down the number of files that
>must be displayed.
>The thing is, there'd only ever be <100 visible on screen so I can't imagine
>why these components fall over.
>
>Myles:
> > But the List view does support a virtual mode, which is just supposed
> > to be for this kind of thing - see Brad Stowers
> > http://www.delphifreestuff.com
>
>Thanks, I'll take a look at that.
>
>Luke Pascoe
>
> > -----Original Message-----
> > From: Manning, John [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, 16 July 2001 5:09 p.m.
> > To: Multiple recipients of list delphi
> > Subject: RE: [DUG]: Speaking of things massive...
> >
> >
> > Hi Luke,
> >
> > > Has anyone worked with file lists in the millions? I'm having
> > > trouble building an on-screen display of files once the number
> > > gets above 20K or so.
> >
> > Maybe an alternate user interface would be required here?
> > Apart from the
> > potentially slow performance, 20K file names sounds like a
> > few too many for
> > a user to navigate through. Maybe you could set up some sort
> > of filter to
> > decide on a subset of files to display?
> >
> > Regards,
> > John
> >
> > --------------------------------------------------------------
> > -------------
> > New Zealand Delphi Users group - Delphi List -
> > [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
> > To UnSub, send email to: [EMAIL PROTECTED]
> > with body of "unsubscribe delphi"
> > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
> >
>---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>To UnSub, send email to: [EMAIL PROTECTED]
>with body of "unsubscribe delphi"
>Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/