devxlogo

Scrollbars and 3-D Effects on Non-MDI Forms

Standard VB forms don’t support a scrollable client area. Normally, when one is needed, programmers resort to convoluted solutions such as filling the client area with a picture box, placing another picture box inside the first, manually adding two scrollbars, and placing the actual form content inside the nested picture box. Then programmers add code to handle the scrolling when the scrollbars are changed.

VB5’s Forms 2.0 Designer provides the ability to automatically place scrollbars on a form and have them appear only when required. Place a Forms 2.0 Designer into your project and examine the Properties window. Click on the Categorized tab, and look at the Scrolling section for information on the scrolling properties and their usage.

For information on how to add a Forms 2.0 Designer and caveats on usage, see the Q&D Zoom Using Forms 2.0 Designer tip.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Seven Service Boundary Mistakes That Create Technical Debt

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.