views:

407

answers:

1

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 these.

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

Thanks for your help.

+2  A: 

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

Ulrich Gerhardt