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. Treeview issues

Treeview issues

Scheduled Pinned Locked Moved C#
helpquestion
5 Posts 3 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.
  • P Offline
    P Offline
    PHDENG81
    wrote on last edited by
    #1

    I have placed two treeviews within a MAIN panel. Before doing so, I also put each treeview within its OWN panel as well. I then put a splitter between each TREEVIEW panel within the MAIN panel. I did this so I could dock buttons onto each treeview and have them maintain their DOCKED position even when the splitter moves. Now, the problem. The Treeview and its OWN panel that is docked at the bottom of the MAIN panel works great. The top one does not. When the splitter resizes the Treeview Panels, the vertical and horizontal scrollbars dont show up on the Top Treeview. Any suggestions? Thanks in advance. D

    M 1 Reply Last reply
    0
    • P PHDENG81

      I have placed two treeviews within a MAIN panel. Before doing so, I also put each treeview within its OWN panel as well. I then put a splitter between each TREEVIEW panel within the MAIN panel. I did this so I could dock buttons onto each treeview and have them maintain their DOCKED position even when the splitter moves. Now, the problem. The Treeview and its OWN panel that is docked at the bottom of the MAIN panel works great. The top one does not. When the splitter resizes the Treeview Panels, the vertical and horizontal scrollbars dont show up on the Top Treeview. Any suggestions? Thanks in advance. D

      M Offline
      M Offline
      munawarhussain
      wrote on last edited by
      #2

      hi Would you please explain it..... Dont mind ..I could not Undersand your problem... because I have been working arround tree views a lot.. so i decided to ask you the problem.. Regards Munawar Hussain Sr.Software Engineer Ayfasoft Lahore Pakistan Cell# +92-42-321-4365657 +92-42-304-4030466

      P 1 Reply Last reply
      0
      • M munawarhussain

        hi Would you please explain it..... Dont mind ..I could not Undersand your problem... because I have been working arround tree views a lot.. so i decided to ask you the problem.. Regards Munawar Hussain Sr.Software Engineer Ayfasoft Lahore Pakistan Cell# +92-42-321-4365657 +92-42-304-4030466

        P Offline
        P Offline
        PHDENG81
        wrote on last edited by
        #3

        No problem. I have three panels. A MAIN panel and two panels with a treeview in each. I have the two TreeView panels INSIDE the MAIN panel. I use a splitter to resize the two treeview panels within the MAIN panel. The two treeviews are stacked on top of one another inside of the MAIN panel. When I resize the form, only the bottom treeview displays scrollbars. The top one does not. Why is this? I have checked all of the setting, and they are the same for both treeviews. If you need any more information, feel free to ask.

        W 1 Reply Last reply
        0
        • P PHDENG81

          No problem. I have three panels. A MAIN panel and two panels with a treeview in each. I have the two TreeView panels INSIDE the MAIN panel. I use a splitter to resize the two treeview panels within the MAIN panel. The two treeviews are stacked on top of one another inside of the MAIN panel. When I resize the form, only the bottom treeview displays scrollbars. The top one does not. Why is this? I have checked all of the setting, and they are the same for both treeviews. If you need any more information, feel free to ask.

          W Offline
          W Offline
          Wjousts
          wrote on last edited by
          #4

          Are you sure you are seeing all of both treeviews? I ask because if you don't have the z-order of the controls correct and you have one of them set to dock as fill sometimes you can find the control fills the entire screen with the other controls docked on top of it (instead of next to it). It's possible that half of one of your treeviews is being obscured by the other without you realizing it.

          P 1 Reply Last reply
          0
          • W Wjousts

            Are you sure you are seeing all of both treeviews? I ask because if you don't have the z-order of the controls correct and you have one of them set to dock as fill sometimes you can find the control fills the entire screen with the other controls docked on top of it (instead of next to it). It's possible that half of one of your treeviews is being obscured by the other without you realizing it.

            P Offline
            P Offline
            PHDENG81
            wrote on last edited by
            #5

            I think you are right. However, how do I fix this problem and still be able to use the splitter to resize each treeview and its corresponding panel? Thanks again.

            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