Tree control comparison

zhaozj2021-02-08  299

Tree control comparison

Perhaps it is affected by the Windows resource management interface, the use of TtreeView in the software interface is increasingly wide, its intuitive manifestation form, convenient manifestation, is indeed a lot of intensiveness (Yes, imitation The resource manager interface, looks intimate) .treeView In the self-contained interface control of Delphi, BCB, it is basically one of the most complex controls. Although it is just Borland's VCL package for Windows standard controls, for general Requirements, it is convenient to use. For higher requirements, it is not too convenient, such as smooth background basemap (network ants), automatic tracking nodes Checkbox (Catalog, file selection) and nodes Radiobutton, node icon and status icon control, multi-column data, associated with database table data, high-performance management massive nodes, export, and printing, etc., although using TtreeView can also be implemented, but the complexity of code and control Life, sometimes more than the business function completed by the program itself, is really not cost-effective, the message on these aspects is also endless. I don't know why Borland does not provide a more powerful, more convenient TTREEVIEW (TtreeViewEx?), Depressed ing ....

It seems that I only have self-reliance ... go to find a good third-party tree control, I have collected countless controls, the trial tree control is not ten (too exaggerated), many trials Not ideally, even the name is not much, some is too lazy, open the source code to see the attribute event inheritance relationship code quality, etc., directly delete, there is a distinctive T (XX) DBTREE, Tchecktree , T (XX) Treelist, etc.

There are several TDREELIST, TDXDBTREELIST, TVIRTUALTREE, TELTREE, etc., are inherited from VCL's TCUSTOMCONTORL (Different from TtreeView package Windows standard controls), the first two (DXTREES) are in the Ding Ding DevexPress QuantumGrid control package, DevexPress's control, only two words: cow ×, believe that people have the same feelings. Tvirtualtree is the free control, absolutely professional "pure VCL" tree control, powerful, property incident, absolutely satisfied Your customization requirements, help documents (unfortunately E text) and Demo is also very comprehensive, the latest version 3.4.9 supports DELHPI4567, BCB456, all of the "advanced features" listed above, it has all, some aspects are more than DXTREES More powerful (of course, there is also a place as DXTREES). As for Teltree, it is far from the front, it is far away. The interface is still going, the most unachable is the efficiency problem, in the number of nodes (such as tens of thousands, hundreds of thousands A), delete (including control sectors) is slow, do not know if the latest version is improved, I have long been "happy old", no longer use it.

In general, TDXTREELIST, TDXDBTREELIST, TVIRTUALTREE belong to the same level, and each has its own weight.

TvirtualTree is equivalent to TTREEVIEW TLISTVIEW (TStringGrid or TDRAWGRID), basemap, node level Checked, Disabled, Visibled, Hottrack ..., node traversal, saving data to file (RTF, HTML, TXT ...) clipart Board support, OLE & VCL drag and drop support, print, sort, cell editing, Unicode support, fine appearance and behavior customization, too much too much function, especially in terms of efficiency and graphics (specific visible HELP or DEMO) Once you have, there is no need! Tap blood recommendation! Disadvantages is that the database is directly supported and designed in the design (no design time node editor), the node's operation, the display must be implemented in runtime, as if It is not as good as TDXTREES, but this is determined by its design idea, that is, separation of data and interface display, which is similar to TreeView in VC, for masters, perhaps it is required. Conclusion: ★★★★ ★

TDXTREELIST is equivalent to TTREEVIEW TLISTVIEW TSTRINGGRID. Compared with TvirtualTree, TDRTUALTREE is highlighted in cell editing and multi-layer list and design time. Conclusion: ★★★★ TDXDBTREELIST is equivalent to TtreeView TListView TDBGrid, in database Better use, mesh editing, multi-layer list, automatic sorting, etc. Its price is unbelievable, comprehensive evaluation from the horizontal single control, is really one of the best controls I have used. The above is purely personal opinion, for reference only.

Release address:

TvirtualTree:

http://www.delphi-gems.com/virtualtreeview/vt.php

DevexPress QuantumGrid Control Pack:

Delphi cave, http://www.51delphhi.com

Welcome letter: gmxyb@netese.com

转载请注明原文地址:https://www.9cbs.com/read-1074.html

New Post(0)