Patrick,
Would you consider an alternative to MS TreeView ?
Our TList control
a) Is much faster even if loading all records
directly into memory
( 20,000 records in under 1 SECOND ! )
b) also has a Virtual Load mechanism that triggers
an event where you can supply the data only as
needed.
Basically you tell TList how many nodes you've
got and then fill in the data when the
user scrolls, expands a branch, etc.
For such a small data set ( just 20,000 records )
I would suggest loading directly into memory.
That way you can use TList's other features for
Printing, File I/O, Search, Sort, etc.
Usually we recommend the Virtual loading only
for really large data sets - 50,000 or more
( TList can handle over a million items )
Drop me a note if this sounds interesting to you
I'd be happy to send additional information and
answer any questions you may have about TList.
* * Please include a copy of this note with your reply
Jeff Bennett
(e-mail address removed)
Bennet-Tec Information Systems, Inc
50 Jericho Tpk, Jericho, NY 11753
Phone 516 997 5596, Fax - 5597
WWW.Bennet-Tec.Com
RELIABLE Component Software
and Software Development Services
* TList/Pro * ALLText HT/Pro * MetaDraw *
====================== ======================
-----Original Message-----
From "Patrick McGuire"