IsLoadedForm

By | 2002-06-01

Tells whether a form is loaded or not

Original Author: Luca Faiazza

Inputs

ByVal pObjForm As Form

Returns

Boolean value

Code

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

Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.