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?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rwilson032697Connect With a Mentor Commented:
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
All Courses

From novice to tech pro — start learning today.