Advertisement
7_2009-2012 Miscellaneous #226562

IsFormLoaded?

A simple method to check if a form is loaded without referencing a property (such as .visible) that would in turn load the form.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Public Function IsFormLoaded(ByVal FormName As String) As Boolean
  Dim frm As Form
  
  For Each frm In Forms
    If LCase(frm.name) = LCase(FormName) Then IsFormLoaded = True
  Next frm
End Function
Original Comments (3)
Recovered from Wayback Machine