How does a scroll bar works in vb.

Posted on 2006-05-18
Last Modified: 2010-04-17
I want a control on my form that acts like a nextpage button. This button should automatically go the next form and move to previous form too.

Thank you.
Question by:Aiysha
    LVL 7

    Accepted Solution

    I don't know that you'll find any way to automate this. What you'll need is a button that has some code behind it that opens the form of your choice and closes the current one.
    LVL 8

    Expert Comment

    I agree with Clever_bob, you are going to need to have buttons which load the previous or next form...

    However, this may work for you..  Press Control T or go to the Project menu and select components.
    Find and add Microsoft Tabbed Dialog Control 6.0
    This will allow you to have on ONE form separate pages.  Then they can select to go to and from these
    pages without even changing the form.
    LVL 8

    Expert Comment

    If the tab control does not suit you, you can add multiple frames to your form.  Then, you can add buttons to go back and forth.
    These can then just make the tabs invisible/visible.  So that only the frame you want showing at the time will show.  Since frames
    are containers, you can use each as a separate form, and when you make the frame invisible, all of its items will disappear too.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Suggested Solutions

    Title # Comments Views Activity
    scoreUp challenge 14 40
    Excel object stays open 19 56
    count8 challlenge 13 67
    drawing animated level bar based on numbers 3 41
    This article is filled with multiple code samples and explanations for mathematical calculations. They are as follows: 1. General tips 2. Quadratic formula 3. Object collision 4. Projectile path General Tips       Here are some of my tips f…
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now