delphi 视图
关于虚拟TreeView ( About Virtual TreeView )
![Virtual Tree View - Sample In Action](https://i-blog.csdnimg.cn/blog_migrate/bd75c3f11632c43b84e83a7306f1f4c3.png)
Virtual Tree View
虚拟树视图
Any tree view like component's purpose is to display a hierarchical list of items. A most common one you use and see every day is the one used in Windows Explorer—to display folders (and more) on your file system.
任何类似于组件目的的树形视图都是显示项目的层次列表。 您每天使用和看到的最常见的文件夹是Windows资源管理器中使用的文件夹-用于显示文件系统上的文件夹(以及更多)。
Delphi comes with the TTreeView control—located on the "Win32" section of the tool palette. Defined in the ComCtrls unit, the TTreeView does a decent task of allowing you to present any parent-child relation of any type of objects.
Delphi带有TTreeView控件-位于工具选项板的“ Win32”部分。 TTreeView在ComCtrls单元中定义,它完成了一项体面的任务,允许您呈现任何类型的对象的任何父子关系。
Each node in the TTreeView consists of a label and an optional bitmapped image—and the TTreeNode object describes an individual node in a TTreeView control.
TTreeView中的每个节点都包含一个标签和一个可选的位图图像-TTreeNode对象描述了TTreeView控件中的单个节点。
While powerful enough for most of the tasks if your application is based on displaying hierarchical data, like folders and files, XML structure, any anything alike, you would soon realize that you need more power from a tree view like component.
如果您的应用程序基于显示分层数据(例如文件夹和文件,XML结构等),而对于大多数任务来说足够强大,则您很快就会意识到,您需要树状视图(如组件)的强大功能。
This is where one gem of the third party components world comes to the rescue: the Virtual TreeView component.
这是第三方组件世界中的一颗瑰宝:Virtual TreeView组件。