PDA

Click to See Complete Forum and Search --> : Is it possible to start a function after the from_load event has finished


Inhumanoid
Nov 3rd, 1999, 07:18 PM
Is it possible to start a function after the from_load event has completly finished ??

David Laplante
Nov 3rd, 1999, 07:37 PM
well couldn't you call your function and the very end of the form load just before the END SUB?

Inhumanoid
Nov 3rd, 1999, 08:25 PM
Nope, that's starting a function just before form_load ends...

Serge
Nov 3rd, 1999, 08:40 PM
It is possible with this work around:


Option Explicit

Private m_bIsFormLoaded As Boolean

Private Sub Form_Activate()
If m_bIsFormLoaded Then
'Call your functions here
m_bIsFormLoaded = False
End If
End Sub

Private Sub Form_Load()
'Do your stuff for form load
m_bIsFormLoaded = True
End Sub




Regards,

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com

Vova
Nov 3rd, 1999, 08:42 PM
Try to call this function in Form_Activate sub... ???