Treeview and listview

Please discuss general Delphi programming topics here.

Treeview and listview

Postby werdnareid » February 4th, 2005, 11:45 am

Hi all does anyone know where i can find reading material on
Treeview and listview components. Or give me some idea how to manipulate these components at runtime.....(Do i have to allocate memory for the node)
werdnareid
Active Member
Active Member
 
Posts: 22
Joined: August 6th, 2003, 5:35 pm

Postby Stefan » February 4th, 2005, 12:20 pm

Hi,

I'm not sure if I know what you mean. Do you want to alter the behaviour of the TTreeView at runtime or do you simply want to add items to the tree?

In that (second case) just look at the Delphi help example for TTreeNodes.Add...

Just type TTreeNode somewhere in your code;
press F1;
select <methods>;
select the "Add" method;
select <example>;
and you'll see a working example of "runtime-manipulation"...

Cheers,
Stefan
User avatar
Stefan
Moderator
Moderator
 
Posts: 128
Joined: September 27th, 2004, 9:40 am
Location: Tilburg, The Netherlands


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron