Horizontal Scrollbar on Panel Control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UmFodnlu?=

    Horizontal Scrollbar on Panel Control

    Hi All;

    I am building a Windows form with multiple panels. I have a large panel as
    the base on the form, with a tab control on top of it, docked to fill, and
    multiple panels on the tab control. The base panel is docked to top of the
    form, with another panel below it, docked to the bottom. I also have a tool
    bar, and menu bar docked to the top of the form above the base panel. The
    problem I am having is that when I resize the form, I get a vertical scroll
    bar, but no horizontal scroll bar. I have autoscroll set to true, so not sure
    what the issue is. Do the panels on the tab control, or the tab control
    itself interfere with the horizontal scrolling?

  • Gugale at Lincoln

    #2
    Re: Horizontal Scrollbar on Panel Control

    could you provide the designer code for the form?

    SG

    "Rahvyn" <Rahvyn@discuss ions.microsoft. comwrote in message
    news:03A5D859-49F9-4C98-82E6-C0163EA1C762@mi crosoft.com...
    Hi All;
    >
    I am building a Windows form with multiple panels. I have a large panel as
    the base on the form, with a tab control on top of it, docked to fill, and
    multiple panels on the tab control. The base panel is docked to top of the
    form, with another panel below it, docked to the bottom. I also have a
    tool
    bar, and menu bar docked to the top of the form above the base panel. The
    problem I am having is that when I resize the form, I get a vertical
    scroll
    bar, but no horizontal scroll bar. I have autoscroll set to true, so not
    sure
    what the issue is. Do the panels on the tab control, or the tab control
    itself interfere with the horizontal scrolling?
    >

    Comment

    • =?Utf-8?B?UmFodnlu?=

      #3
      Re: Horizontal Scrollbar on Panel Control

      Hmm, I can do it in 4 posts, its quite long, I'm way over the text limit. I
      could email it to you...


      Comment

      • =?Utf-8?B?UmFodnlu?=

        #4
        Re: Horizontal Scrollbar on Panel Control

        Got it figured out, just needed to set the autoscroll property correctly for
        all the child panels, and let the parent panel handle the scrolling.

        Comment

        Working...