Advertisement

Borland C Builder & Trees

Started by November 20, 2000 05:23 AM
2 comments, last by Danias 24 years, 2 months ago
Hi folks! At the moment I''m working with TList (which should be the same as CList in VC++). Now, I want to work with trees and wonder if anybody knows of a BCB-tree-class... anybody?
You can use the TList. You make a list of nodes where each node contains a list of children. As an example look at TTreeNodes and TTreeNode.
Keys to success: Ability, ambition and opportunity.
Advertisement
Well, I guess that was kind of silly, just use TTreeNodes and TTreeNode. You can attach your own objects at each node of the tree using the Data property on the TTreeNode class.
Keys to success: Ability, ambition and opportunity.
Thanks! It came just in time!

This topic is closed to new replies.

Advertisement