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. Cannot focus treeNode in a panel

Cannot focus treeNode in a panel

Scheduled Pinned Locked Moved C#
helptutorialquestion
3 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.
  • K Offline
    K Offline
    Kim0618
    wrote on last edited by
    #1

    Hi, I got a problem in focus at a treeNode of a treeView on a panel by program. Even I set treeNode1.Focus(), the node still can't get focus. There is no problem where the treeView is just on the form without the panel. How to solve it ? Thanks

    L 1 Reply Last reply
    0
    • K Kim0618

      Hi, I got a problem in focus at a treeNode of a treeView on a panel by program. Even I set treeNode1.Focus(), the node still can't get focus. There is no problem where the treeView is just on the form without the panel. How to solve it ? Thanks

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #2

      How about setting SelectedNode?

      xacc.ide - now with TabsToSpaces support
      IronScheme - 1.0 alpha 4a out now (29 May 2008)

      K 1 Reply Last reply
      0
      • L leppie

        How about setting SelectedNode?

        xacc.ide - now with TabsToSpaces support
        IronScheme - 1.0 alpha 4a out now (29 May 2008)

        K Offline
        K Offline
        Kim0618
        wrote on last edited by
        #3

        No, setting its the selectedNode and Focus() still cannot get it focused.

        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