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
  1. Home
  2. General Programming
  3. C#
  4. Event Trigger

Event Trigger

Scheduled Pinned Locked Moved C#
questiondatabase
2 Posts 2 Posters 0 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.
  • E Offline
    E Offline
    eyalle
    wrote on last edited by
    #1

    Hello All.. i have a TreeView called "tvwProject" which in the frmLoad function i have the following code: //tvwProject.SelectedNode = tvwProject.TopNode; meaning that i don't want any node to be selected in the loading of the frm. the event's flow continues to the Enter function & automatically to AfterSelect in the Enter event -> tvwProject.SelectedNode == null BUT in AfterSelect event -> tvwProject.SelectedNode = first node in treeView how can i control the selected node ?? how can i see the event flow in my program ?? thank's Eyal

    M 1 Reply Last reply
    0
    • E eyalle

      Hello All.. i have a TreeView called "tvwProject" which in the frmLoad function i have the following code: //tvwProject.SelectedNode = tvwProject.TopNode; meaning that i don't want any node to be selected in the loading of the frm. the event's flow continues to the Enter function & automatically to AfterSelect in the Enter event -> tvwProject.SelectedNode == null BUT in AfterSelect event -> tvwProject.SelectedNode = first node in treeView how can i control the selected node ?? how can i see the event flow in my program ?? thank's Eyal

      M Offline
      M Offline
      Md Marufuzzaman
      wrote on last edited by
      #2

      Try this link.

      I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.


      Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you. Thanks Md. Marufuzzaman

      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