i don't seem to understand u, can u elaborate more?

Stephen the Cook <[EMAIL PROTECTED]> wrote:
Thanks,  That is a good start.  Would you trap all of the hits as people went down the tree using stringbuilder?
 
I have Make | Model | Opening
 
Allison  | 1000 EVS | RIGHT
 
I need to trap 1000 EVS & Right in this case.
 
So how would I grab the 2 items?
 
 

Stephen Russell
S.R. & Associates
Memphis, TN 38115

901.246-0159

-----Original Message-----
From: Tarakeshwar L [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 8:15 AM
To: [EMAIL PROTECTED]
Subject: RE: [Microsofts_C_Sharp] Treeview

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-----
From: Stephen the Cook [mailto:[EMAIL PROTECTED]
Sent: Friday, September 10, 2004 6:21 PM
To: [EMAIL PROTECTED]
Subject: [Microsofts_C_Sharp] Treeview

How do I grab where the user clicked in a 4 node tree? 

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



Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to