Results 1 to 3 of 3

Thread: [RESOLVED] Auto Scroll Bar Margin / Position Adjustments

  1. #1

    Thread Starter
    Lively Member kshadow22's Avatar
    Join Date
    Dec 2014
    Location
    Kentucky
    Posts
    95

    Resolved [RESOLVED] Auto Scroll Bar Margin / Position Adjustments

    I am working my entire project with no form border styles. This means that I have to create my own borders, exit / maximize / minimize buttons, and etc. However, I need to use the autoscroll function, but the scroll bar covers my buttons. I have researched the controls for changing the margins and position of the autoscrollbar, but I can't seem to get anywhere with it. I have even looked into wiring my own scrollbar, but that was more than what it was worth.
    Any ideas or tips?

    I need the scroll bar to be 26px shorter so it does not cover the top bar of my program.
    Thanks you guys. Here is an image so you can see what I am trying to explain.Name:  Capture.PNG
Views: 1035
Size:  6.1 KB

  2. #2
    Fanatic Member Arve K.'s Avatar
    Join Date
    Sep 2008
    Location
    Kyrksæterøra, Norway
    Posts
    518

    Re: Auto Scroll Bar Margin / Position Adjustments

    Put a Panel inside your form and move your controls (except the title bar) to this panel, and then use the auto-scroll property of the panel instead.
    Arve K.

    Please mark your thread as resolved and add reputation to those who helped you solve your problem
    Disclaimer: I am not a professional programmer

  3. #3

    Thread Starter
    Lively Member kshadow22's Avatar
    Join Date
    Dec 2014
    Location
    Kentucky
    Posts
    95

    Re: Auto Scroll Bar Margin / Position Adjustments

    Thank you!!!!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width