rangi999
asked on
Treeview and text files
Can i populate a treeview, with each node being the contents of a text file??? This would have to be about 5/6 lines for each node.
or is there a method to populate treeview, and show the data for each node in the text box next to it.
for example, clicking on node A loads a text file into the text box relating to contents A?
or is there a method to populate treeview, and show the data for each node in the text box next to it.
for example, clicking on node A loads a text file into the text box relating to contents A?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ro -> to :-))
terrible typo
this
for i := 0 ro sl.count-1 do
ANode.TreeView.Items.Addch ild(sl[i]) ;
should be
for i := 0 ro sl.count-1 do
begin
Node.TreeView.Items.Addchi ld(ANode);
Node.Text := sl[i];
end;
meikl ;-)
this
for i := 0 ro sl.count-1 do
ANode.TreeView.Items.Addch
should be
for i := 0 ro sl.count-1 do
begin
Node.TreeView.Items.Addchi
Node.Text := sl[i];
end;
meikl ;-)
rangi999:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area for this question:
to accept kretzschmar's answer
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Some days and here is the Christmas Time. I wish good luck and good health for you all and for your loved ones
kacor
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area for this question:
to accept kretzschmar's answer
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Some days and here is the Christmas Time. I wish good luck and good health for you all and for your loved ones
kacor
EE Cleanup Volunteer