Hi,
You
can use the mouse down event to find out which node has been clicked by the
user.
private void treeView1_MouseDown(object sender,
System.Windows.Forms.MouseEventArgs e)
{
TreeNode selectedNode = null;
selectedNode =
treeView1.GetNodeAt(e.X,e.Y);
}
The selectedNode
will contain the Node that was clicked by the user.
Regards,
Tarakeshwar
-----Original Message-----How do I grab where the user clicked in a 4 node tree?
From: Stephen the Cook [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 6:21 PM
To: [EMAIL PROTECTED]
Subject: [Microsofts_C_Sharp] Treeview
Am I looking for a series like 5,2,4,1 or am I going to each node by
name and diong it there?
TIA
Stephen Russell
S.R. & Associates
Memphis, TN 38115
901.246-0159
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Microsofts_C_Sharp/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
