Solved

TTreeview problem

Posted on 1998-12-03
2
174 Views
Last Modified: 2010-04-04
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
Comment
Question by:aztec
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1349183
The help is lying. The VCL code definitely inserts the node before the one specified.

Cheers,

Raymond.
0
 

Author Comment

by:aztec
ID: 1349184
OK, thanks Raymond!

Shawn
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now