Treeview Node Select in VB .Net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • kt

    #1

    Treeview Node Select in VB .Net

    How do you go about this. Can some point me in the right direction. Thanks in
    advance.
  • Kevin Spencer

    #2
    Re: Treeview Node Select in VB .Net

    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]


    Comment

    • kt

      #3
      Re: Treeview Node Select in VB .Net

      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=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]

      Comment

      • Kevin Spencer

        #4
        Re: Treeview Node Select in VB .Net

        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

        Working...