Solved

Putting TTreeNode into edit mode

Posted on 2004-08-29
1
206 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

19 Experts available now in Live!

Get 1:1 Help Now