Scrollbar Control in VB.NET

Topic

How to use HScroll And VScroll control Bars in VB.NET?

Explanation

HScroll And VScroll Bar Control

VScroll Bar Control is used to view the portion outside the visible area by enabling scrolling vertically. HScroll Bar Control is used to view the portion outside the visible area by enabling scrolling horizontally. Both these scrollbar control consists of two arrows at end with a scroll bar.
Video:

  • In the above example the Change event of HscrollBar and VScrollBar is used to get a value between 0 to 100 for length, width.
  • Using this value the area of a rectangle is calculated.
  • Thus, you can use the scrollbar controls in VB.NET.

Visual Basic Tutorial