Message 1 of 4
Modeless Form timer does not tick until after processing is complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I have a modeless form that I have added a timer control.
On OK button click I have
Timer1.Interval = 1000
Timer1.Start()
And have the following:
Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick If uxProgressBar.Value + 1 < uxProgressBar.Maximum Then uxProgressBar.Value = uxProgressBar.Value + 1 Else Timer1.Stop() End If End Sub
However it seems that my progress bar does not move until after the processing is complete.
Any ideas?
Kind Regards
David