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
aztecAsked:
Who is Participating?
 
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.

All Courses

From novice to tech pro — start learning today.