O'Reilly logo

Application Development Using Visual Basic® and .NET by Dana L. Wyatt, Peter Thorsteinson, Robert J. Oberg

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Scrolling

Often a window may not be large enough to display all the information available. For example, in Version 1 of ScrollDemo in the previous section, if the window is made small, you will not be able to see all the lines of text displayed at the same time. In such a situation it is useful for the user to be able to scroll the output to view additional information. The standard way Windows handles this situation is to provide horizontal and vertical scrollbars. Version 2 of ScrollDemo adds scrolling capability to our program, as illustrated in Figure 11-12.

Figure 11-12. Scrollbars enable user to view multiple lines of text.

The .NET Framework ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required