Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. treeview

treeview

Scheduled Pinned Locked Moved Visual Basic
data-structuresquestion
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amarni
    wrote on last edited by
    #1

    please i want to use treeview so that when i click on the first child do action then when i click on the second child i need to perform other actions ... so that how can i use tree view Amarni

    R 1 Reply Last reply
    0
    • A Amarni

      please i want to use treeview so that when i click on the first child do action then when i click on the second child i need to perform other actions ... so that how can i use tree view Amarni

      R Offline
      R Offline
      Robert Rohde
      wrote on last edited by
      #2

      You should clarify on what you want to do. You could react to the AfterSelect event of the TreeView and then decide on what to do depending on the TreeNode. You could use the Tag property of the TreeNode to hold some info on what to do. You could also inherit from TreeNode thus that every node 'knows' what should be done. Dozens of alternatives...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups