Sorry - fired off the last reply without reading your post properly.  Just
use:

   ANode := TreeView.Items.Add(...);
   TreeView.selected := ANode;
or
   ANode.selected := True;
 
Stephen


-----Original Message-----
From: Chrissy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 1 February 2001 8:56 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: TTreeView


Hi,

How do I select the node that I have just added to the tree view?

Chrissy.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to