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

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.
Similar Threads
  1. Alan The Braw

    Help wheres me tool bars went?

    Alan The Braw, Feb 7, 2005, in forum: DIY Computers
    Replies:
    1
    Views:
    421
    Brian G
    Feb 7, 2005
  2. Rob Hemmings

    Re: screen of horizonatal coloured bars

    Rob Hemmings, Apr 15, 2005, in forum: DIY Computers
    Replies:
    0
    Views:
    343
    Rob Hemmings
    Apr 15, 2005
  3. nobody760

    To add or not to add that is the question.

    nobody760, Apr 25, 2005, in forum: DIY Computers
    Replies:
    2
    Views:
    647
    Alex Fraser
    Apr 25, 2005
  4. M.T.
    Replies:
    4
    Views:
    421
  5. Matt
    Replies:
    30
    Views:
    1,739
    Gary Tait
    Feb 29, 2004
  6. annily

    Windows 7 network status yellow bars

    annily, Jun 23, 2012, in forum: Computing
    Replies:
    2
    Views:
    517
    annily
    Jun 25, 2012
  7. SG1

    Search bars in general

    SG1, Aug 14, 2012, in forum: Computing
    Replies:
    9
    Views:
    354
  8. Ed Anson

    Three bars and no network?

    Ed Anson, Aug 10, 2013, in forum: iPhone
    Replies:
    11
    Views:
    428
    DevilsPGD
    Aug 21, 2013
Loading...