Home > Software engineering >  Scrollbar in parent only (no child scrollbars)
Scrollbar in parent only (no child scrollbars)

Time:09-19

I have a nested structure of panels. A parent (Tablelayoutpanel) contains several different panels in vertical order. In there I have Child Panels (Flowlayoutpanel) providing a horizontal sequence of controls. What happens now is that I have horizontal scrollbars in my child panels. All child panels have the same width and structure. I would like to have only the scrollbars in my parent panel and these scrollbars move the content inside all children synchronously.

Screenshot

Any ideas? Thanks!

CodePudding user response:

Why don't you also use Flowlayoutpanel as a parent by disabling the AutoScroll property and changing the fill orientation?

  • Related