How To Add Scroll Bars To A Form

SOLVED Discussion in 'Web Design & Coding' started by Comptech, Dec 12, 2011.

  1. Comptech

    Comptech ICT Technican

    Joined:
    Dec 11, 2011
    Messages:
    16
    Likes Received:
    14
    Location:
    UK
    In this tutorial you will learn how to add vertical and horzonel scrool bars to a form so that the form can have auto scroll, scroll bars on every form in the correct postion.

    Double click on the form and enter the following code;

    MyBase.Load
    Me.VerticalScroll.Visible = True
    Me.VerticalScroll.Enabled = True
    Me.HorizontalScroll.Enabled = True
    Me.HorizontalScroll.Visible = True
    Me.AutoScroll = True


    Hope this helps

    Kind Regards

    Bradley
     
    Comptech, Dec 12, 2011
    #1
    Zeus likes this.
    1. Advertisements

  2. Comptech

    AceInfinity Somewhere...

    Joined:
    Aug 13, 2012
    Messages:
    7
    Likes Received:
    0
    Location:
    Canada
    Those Visible properties should be by default set to True, unless you set them to False elsewhere along the way, just for the tip :)
     
    AceInfinity, Aug 13, 2012
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.