G
Guest
I have a form that changes images using the timer event and an IF statement.
When the timer times out the new image imports into the form. That works fine
but I see the progress bar as the image loads. Is there a way to stop the
progress bar from displaying?
Private Sub Form_Timer()
If (Me.imgMainMenu.Picture = "Image1") Then
Me.imgMainMenu.Picture = "Image2"
Exit Sub
End If
If (Me.imgMainMenu.Picture = "Image2") Then
Me.imgMainMenu.Picture = "Image3"
Exit Sub
End If
If (Me.imgMainMenu.Picture = "Image3") Then
Me.imgMainMenu.Picture = "Image1"
Exit Sub
End If
End Sub
When the timer times out the new image imports into the form. That works fine
but I see the progress bar as the image loads. Is there a way to stop the
progress bar from displaying?
Private Sub Form_Timer()
If (Me.imgMainMenu.Picture = "Image1") Then
Me.imgMainMenu.Picture = "Image2"
Exit Sub
End If
If (Me.imgMainMenu.Picture = "Image2") Then
Me.imgMainMenu.Picture = "Image3"
Exit Sub
End If
If (Me.imgMainMenu.Picture = "Image3") Then
Me.imgMainMenu.Picture = "Image1"
Exit Sub
End If
End Sub