by Luca Faiazza (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
Tells whether a form is loaded or not
Inputs
ByVal pObjForm As Form
Code Returns
Boolean value
Public Function IsLoadedForm(ByVal pObjForm As Form) As Boolean
Dim tmpForm As Form
For Each tmpForm In Forms
If tmpForm Is pObjForm Then
IsLoadedForm = True
Exit For
End If
Next
End Function