It does not have to be Current. It also works in Form.Load if you set the TimerInterval. The timer will still show its effect after Current.@Josef P. said in Reply #10 to turn the timer on in the FormCurrent Event, then in the timer event to turn the timer off and load the subforms.
See example in #14.
fix #41
Code:
Private Sub Form_Current()
' Dim FirstLoad As Integer ' is 0 for each new procedure execution (Content is removed from memory after exiting the procedure)
static FirstLoad As Integer ' or use as modul variable
If FirstLoad = 0 Then
FirstLoad = 1
Me.TimerInterval = 1
Unload ufProgress ' Kill progress bar
Else
Me.TimerInterval = 0 ' Timer Off
End If
End Sub
Last edited: