I have a three layer tree. Each layer is represents a different DB table. The tables are linked using key for each entry and a PriKey to link to the key in the previous table.

My nodes are created collectively and I are loading the tag value with the Key to the record to the appropriate DB table.

I can display the information correctly.

But I cannot access the tag value whe I use the OnNodeClick i cant get the tag for that node.

I seems that the TTMSFMXTreeViewVirtualNode dosent hold the tag value given to the node.

How do I retrieve this information.


The virtual treeview node has a Node property and if assigned it returns the collection node.