none
scroll with out the scroll bar RRS feed

All replies

  • You have to handle the Scroll events yourself.  You will have to decide what you want to do with each event -- are you forwarding it to a different control?

    Here's an example that shows scrolling a picture box:

    https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.scrollbar.scroll?view=netframework-4.8


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    Thursday, August 22, 2019 6:42 PM
  • Hi  Ahron321,

    Thank you for posting here.

    You could try the following code to scroll with a custom scroll.

      private void Form1_Load(object sender, EventArgs e)
            {
               this.AutoScroll = true;
    
            }
    

    Best Regards,

    Jack


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, August 23, 2019 2:18 AM
    Moderator