FNC TreeView

Hi,

How can I expand automatically all sub child nodes when the user is expanding the top (extended) node to get the complete sub-tree fully deployed across multiples columns ?
I am adding child nodes with AddNode(Parent Node)

Not clear how to use Children of the Virtual Node triggered with OnBeforeExpandNode.

Is there a way to extend the dotted line connecting a node with child nodes across multiples columns ?

Thanks

Hi,


You can use this code:



procedure TForm1.TMSFNCTreeView1AfterExpandNode(Sender: TObject;
  ANode: TTMSFNCTreeViewVirtualNode);
begin
  ANode.Node.Collapse(False);
  ANode.Node.Expand(True);
end;

Excellent. Thank you