VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Another Progressbar without any OCX

Max Christian Pohle  (9 Submissions)   Coding Standards   VB Script   Beginner   Wed 3rd February 2021

It's just one Sub-Procedure that can fill a picturebox as if it was a progressbar. Also you can choose one of more than eight different styles!

Inputs
Just call SetStatus as shown in my example (only included in the zip-file!). ---------------------------------------------------------------------- Call SetStatus() with the following Parameters: 1: The real Name of a (normal) Picturebox included in your project 2: Number of Percent to fill it with and the following optional parameters are: 3: specify a style (1 to 7) for "fullfilling"... 4: specify a style (0 to 6) for the "lines-around" -can produce a 3D-effect

Assumes
why i recommend you to use my code are the following facts: - you dont need any OCX-File to use it - it looks nice and gives your application an individual style - my code does not run as slow as many others I have seen here *urgh* :-)

Returns
a -hopefully- nicelooking progressbar

API Declarations
Sure that you -could- use APIs and please implement some if you want my progressbar to be transparent or anything. But don't be cruel and think my bar would be faster using them! :-)

Rate Another Progressbar without any OCX (8(8 Vote))
Another Progressbar without any OCX.bas

Another Progressbar without any OCX Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters