VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



IsLoadedForm

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

Rate IsLoadedForm

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

Download this snippet    Add to My Saved Code

IsLoadedForm Comments

No comments have been posted about IsLoadedForm. Why not be the first to post a comment about IsLoadedForm.

Post your comment

Subject:
Message:
0/1000 characters