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 摘要: 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.

源代码
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
原始评论 (3)
从 Wayback Machine 恢复