I am having troble with progress bars, does know how to work them correctly.
Last edited by Displacer43; Feb 28th, 2005 at 05:53 PM.
Have a look in the posted code section they have some really good examples in here Cheers, RyanJ
My Blog. Ryan Jones.
Here is a quick example: VB Code: Private Sub Form_Activate() ProgressBar1.Min = 0 ProgressBar1.Max = 100 ProgressBar1.Value = 0 ProgressBar1.Enabled = True Dim x As Integer Dim q As Long For x = 0 To 100 For q = 1 To 500000 Next q ProgressBar1.Value = x Next x End
Private Sub Form_Activate() ProgressBar1.Min = 0 ProgressBar1.Max = 100 ProgressBar1.Value = 0 ProgressBar1.Enabled = True Dim x As Integer Dim q As Long For x = 0 To 100 For q = 1 To 500000 Next q ProgressBar1.Value = x Next x End
Forum Rules