Solved

Putting TTreeNode into edit mode

Posted on 2004-08-29
1
205 Views
Last Modified: 2010-04-16
Hi,

I can click on a TTreeView node, wait a second or so, and then edit the node text. I would like to force the node into the edit mode from code.

My question is, how do I force a TTreeNode into it's edit mode?

Regards,

Bill
0
Comment
Question by:wipnav
1 Comment
 
LVL 12

Accepted Solution

by:
esoftbg earned 250 total points
ID: 11928550
procedure TForm1.Button1Click(Sender: TObject);
begin
  TreeView.SetFocus;
  TreeView.Selected.EditText;
end;

Emil
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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

706 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

15 Experts available now in Live!

Get 1:1 Help Now