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. HOWTO make child controls scroll inside a containercontrol

HOWTO make child controls scroll inside a containercontrol

Scheduled Pinned Locked Moved C#
csharpdockerhelptutorial
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.
  • B Offline
    B Offline
    batmike2000
    wrote on last edited by
    #1

    Hi to all, can anyone give me a head start on following problem(i've made the same post in the VB.Net post section): I have an applications in which I add controls to a treeview (treeview = container). The problem is that when i scroll my treeview, the nodes move but the controls stay at their place ( the don't move in other words). ANy idea on how to make them move and keep their raltive position (now they are located next to the node which handles as the controls label) kind regards, Bats (Mike Martin)

    A 2 Replies Last reply
    0
    • B batmike2000

      Hi to all, can anyone give me a head start on following problem(i've made the same post in the VB.Net post section): I have an applications in which I add controls to a treeview (treeview = container). The problem is that when i scroll my treeview, the nodes move but the controls stay at their place ( the don't move in other words). ANy idea on how to make them move and keep their raltive position (now they are located next to the node which handles as the controls label) kind regards, Bats (Mike Martin)

      A Offline
      A Offline
      alexey N
      wrote on last edited by
      #2

      You must handle scroll events, and recalculate location of each control. Best regards, Alexey.

      1 Reply Last reply
      0
      • B batmike2000

        Hi to all, can anyone give me a head start on following problem(i've made the same post in the VB.Net post section): I have an applications in which I add controls to a treeview (treeview = container). The problem is that when i scroll my treeview, the nodes move but the controls stay at their place ( the don't move in other words). ANy idea on how to make them move and keep their raltive position (now they are located next to the node which handles as the controls label) kind regards, Bats (Mike Martin)

        A Offline
        A Offline
        alexey N
        wrote on last edited by
        #3

        I hope you find already existing controls: http://www.codeproject.com/cs/miscctrl/#TreeView+Controls Best regards, Alexey.

        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