devxlogo

Use a Picture Control to Create a Beveled Panel

Use a Picture Control to Create a Beveled Panel

Occasionally, you may want to use on your form a beveled panel that allows you to designate a background bitmap. Rather than use a third-party control, you can use the Picture control provided as a core DLL function (non-OCX) in all versions of Visual Basic 4. Place a Picture control on your form, and set the Appearance property to “1 – 3D” and the BorderStyle property to “1 – Fixed Single.” This creates the bevel effect. Now set the Picture property to the desired image. You may now place controls directly on the picture control. Remember to set the “Background Style” property to “0 – Transparent” for all controls where you would prefer the background image to be displayed.

See also  How HealthStream Learning Center Supports Healthcare Education and Compliance
devxblackblue

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.

About Our Journalist