Guaranteed Hits to your web site!












Learn Visual Basic 6.0


4. More Exploration of the Visual Basic Toolbox


Horizontal and Vertical Scroll Bars


Horizontal Scroll Bar Vertical Scroll Bar

  1. Horizontal and vertical scroll bars are widely used in Windows applications. Scroll bars provide an intuitive way to move through a list of information and make great input devices.

  2. Both type of scroll bars are comprised of three areas that can be clicked, or dragged, to change the scroll bar value. Those areas are:


    Scroll bar



    Clicking an end arrow increments the scroll box a small amount, clicking the bar area increments the scroll box a large amount, and dragging the scroll box (thumb) provides continuous motion. Using the properties of scroll bars, we can completely specify how one works. The scroll box position is the only output information from a scroll bar.
  3. Scroll Bar Properties:
  4. Properties for horizontal scroll bar:


    Horizontal Scroll bar



  5. Properties for vertical scroll bar:


    vertical Scroll bar



  6. A couple of important notes about scroll bars:
  7. Scroll Bar Events:


Pen Line


Counter Hit Counter Hit


This Homepage is special brought to you by CK Tan
Hosted by www.Geocities.ws

1