Hey guys I have a progress bar called prbDetecting. When it is at 100 I would like a frame1 to become visible so it would be frame1.visible = true
But how would I code it so when he prbDetecting is at 100% it happens?
Thanks.
Printable View
Hey guys I have a progress bar called prbDetecting. When it is at 100 I would like a frame1 to become visible so it would be frame1.visible = true
But how would I code it so when he prbDetecting is at 100% it happens?
Thanks.
Check if the progressbar.value = progressbar.max? Is that what you are asking.
Code:Private Sub Form_Load()
Frame1.Visible = False
Timer1.Interval = 1
prbDetecting.Value = 0
End Sub
Private Sub Timer1_Timer()
prbDetecting.Value = prbDetecting + 5
If prbDetecting.Value = 100 Then
Frame1.Visible = True
Timer1.Enabled = False
End If
End Sub
Thank you both for your assistance.