?
Solved

Putting TTreeNode into edit mode

Posted on 2004-08-29
1
Medium Priority
?
216 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 1000 total points
ID: 11928550
procedure TForm1.Button1Click(Sender: TObject);
begin
  TreeView.SetFocus;
  TreeView.Selected.EditText;
end;

Emil
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month15 days, 4 hours left to enroll

840 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