Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/delphi/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Delphi 虚拟字符串树中是否可能有多个标题行?_Delphi_Virtualtreeview - Fatal编程技术网

Delphi 虚拟字符串树中是否可能有多个标题行?

Delphi 虚拟字符串树中是否可能有多个标题行?,delphi,virtualtreeview,Delphi,Virtualtreeview,我需要为虚拟字符串视图的标题设置多个固定行,这与将StringGrid的FixedRows属性设置为大于1的值类似。有没有办法做到这一点 在Soft Gems网站和论坛上的一些搜索让我提到了一个AdvancedHeaderDraw方法和虚拟字符串树上的HeaderQueryElements属性,但我不知道如何使用它们 我还发现了一个演示,它使用了THeaderControls来实现类似的效果,但必须有一个更优雅的解决方案。AFAIK没有类似的内置解决方案。但是您可以在上尝试标记为“virtual

我需要为虚拟字符串视图的标题设置多个固定行,这与将
StringGrid
FixedRows
属性设置为大于1的值类似。有没有办法做到这一点

在Soft Gems网站和论坛上的一些搜索让我提到了一个
AdvancedHeaderDraw
方法和虚拟字符串树上的
HeaderQueryElements
属性,但我不知道如何使用它们


我还发现了一个演示,它使用了
THeaderControls
来实现类似的效果,但必须有一个更优雅的解决方案。

AFAIK没有类似的内置解决方案。但是您可以在上尝试标记为“virtualtreeview desc.(嵌套头)”的VT子体


十年后的注释:请注意,VT的家不再位于Soft gems,但现在我在那里找不到相关的下载。此外,我不知道后代是否仍能使用当前的VT版本。

链接已断开:(@Nat已尽可能修复)。