Mohamed Galal <[EMAIL PROTECTED]> wrote:
hi...
i didn't read the question carefully in the first time
 
u can use the following instead.
 
private int [4] Sequence;
private int index = 0;
 
private void tv_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e)
{
    if(index < 4)
    {
        Sequence[index++] = ((TreeView)sender).SelectedNode.Index;
    }
    else
    {
        MessageBox("Sequence is:" +
                               Sequence[0] +
                               Sequence[1] +
                               Sequence[2] +
                               Sequence[3] );
   }
 
}
 
hope this helps
 
Mohamed Galal

Stephen the Cook <[EMAIL PROTECTED]> wrote:
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 - 50x more storage than other providers!


Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to