How do I make a custom progress bar?
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Okay so I wanted to make an application with a progress bar, well progress bar is already included but I dont like how it looks, so I made this Topic and I hope you can show me how to make a custom progress bar. wahooo;
Im serious, I hate the visual basic progress bar :| .
Posting the same request 3 times will not get you a quicker or better answer.
Code: Select all
Dim gfx As Graphics
Dim percent As Integer = 0
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
PictureBox1.BorderStyle = BorderStyle.FixedSingle
PictureBox1.Image = New Bitmap(PictureBox1.Width, PictureBox1.Height)
gfx = Graphics.FromImage(PictureBox1.Image)
End Sub
Private Sub btnIncrease_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnIncrease.Click
percent += 10
gfx.FillRectangle(Brushes.Black, New RectangleF(0, 0, PictureBox1.Width / 100 * percent, PictureBox1.Height))
PictureBox1.Refresh()
End Sub
Thank you mandai for notifying me that I made 3 topics.
I didn't know that, maybe I was clicking post too much lmao;
I didn't know that, maybe I was clicking post too much lmao;
O_O, Uh picture box?. I thought it was custom progressbar :?
A Custom Progress Bar like the custom skin that codie made.
please dont spam your topic it makes you look unprofessional also mandai's code does indeed work
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

zachman61 wrote:please dont spam your topic it makes you look unprofessional also mandai's code does indeed workIt waz an accident xD
Last edited by lawrence12 on Sun Jun 06, 2010 12:18 am, edited 1 time in total.
Copyright Information
Copyright © Codenstuff.com 2020 - 2023