Set the SelectedNode property of the TreeView to the TreeNode that you want
to select.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
Big thicks are made up of lots of little thins.
"kt" <kt@discussions .microsoft.com> wrote in message
news:2156D3DE-4665-4D14-8974-B5D2AC45E585@mi crosoft.com...[color=blue]
> How do you go about this. Can some point me in the right direction. Thanks
> in
> advance.[/color]
Thanks. One last one now, how do you initiate the click of the selected node
in code.
Thanks in advance.
"Kevin Spencer" wrote:
[color=blue]
> Set the SelectedNode property of the TreeView to the TreeNode that you want
> to select.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> Professional Chicken Salad Alchemist
>
> Big thicks are made up of lots of little thins.
>
>
> "kt" <kt@discussions .microsoft.com> wrote in message
> news:2156D3DE-4665-4D14-8974-B5D2AC45E585@mi crosoft.com...[color=green]
> > How do you go about this. Can some point me in the right direction. Thanks
> > in
> > advance.[/color]
>
>
>[/color]
Why? Just write a routine that does whatever you want the "click of the
selected node" to do. You already know which node is selected.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
Big thicks are made up of lots of little thins.
"kt" <kt@discussions .microsoft.com> wrote in message
news:487B47D0-EE35-463C-9E0B-2760C12E8F5F@mi crosoft.com...[color=blue]
> Kevin
>
> Thanks. One last one now, how do you initiate the click of the selected
> node
> in code.
>
> Thanks in advance.
>
> "Kevin Spencer" wrote:
>[color=green]
>> Set the SelectedNode property of the TreeView to the TreeNode that you
>> want
>> to select.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> Professional Chicken Salad Alchemist
>>
>> Big thicks are made up of lots of little thins.
>>
>>
>> "kt" <kt@discussions .microsoft.com> wrote in message
>> news:2156D3DE-4665-4D14-8974-B5D2AC45E585@mi crosoft.com...[color=darkred]
>> > How do you go about this. Can some point me in the right direction.
>> > Thanks
>> > in
>> > advance.[/color]
>>
>>
>>[/color][/color]
Comment