0

I have a need for multiple fixed rows for the header of a virtual string view - something that looks like the effect you get if you set a StringGrid's FixedRows property to a value greater than 1. Is there a way to achieve this?

Some searching on the Soft-Gems website and forums led me to a couple of mentions of an AdvancedHeaderDraw method and a HeaderQueryElements property on the virtual string tree, but I can't work out how to use them.

I also found a demo that uses THeaderControls to achieve a similar effect but there has to be a more elegant solution.

metacubed
  • 7,031
  • 6
  • 36
  • 65
lukeck
  • 4,528
  • 3
  • 27
  • 29

1 Answers1

2

AFAIK there's nothing like this built in. But you could try the VT descendant labeled "Virtual Treeview desc. (nested headers)" on this page.

Note from ten years later: Please note that VT's home is not at Soft gems anymore but at JAM software now but I couldn't find the relevant download there. Also I have no idea if the descendant still works with current VT versions.

Uli Gerhardt
  • 13,748
  • 1
  • 45
  • 83