• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

TTreeview problem

The InsertObject method appears to be placing the new node *before* my selected node...not after, like it should be doing. My call to InsertObject appears correct:

htreenode:=Treeview1.Items.InsertObject(Treeview1.Selected, Form11.edit1.text, nodestuff);

...yet it's putting the new node before Treeview1.Selected, not after. Any idea what might be happening?

Thanks,
   Shawn Halfpenny
0
aztec
Asked:
aztec
1 Solution
 
rwilson032697Commented:
The help is lying. The VCL code definitely inserts the node before the one specified.

Cheers,

Raymond.
0
 
aztecAuthor Commented:
OK, thanks Raymond!

Shawn
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now