[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

TTreeview problem

Posted on 1998-12-03
2
Medium Priority
?
185 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 200 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

872 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