devxlogo

Putting a ProgressBar on a StatusBar

Putting a ProgressBar on a StatusBar

Question:
Both the ProgressBar and the StatusBar appear to be welcome additions to the VB controls set. But, while I have had to create each of the various built-in StatusBar styles at least once in the past, I have never created a roll-your-own status bar without a roll-your-own progress bar in at least one panel. And yet, I can’t figure out how to put the new VB4 ProgressBar in a panel of the StatusBar!Is it possible that these two controls can’t be nested?

Answer:
I would guess what you are actually seeing is the ProgressBar next to a StatusBar, both of which are in a picturebox or a panel. That’s basically how they are probably doing it, and it’s how I would recommend you do it. It’s a similar thing to putting a drop list in a toolbar. You have to space them out so they all fit together.

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