README.md

December 4, 2022 ยท View on GitHub

IsFormLoaded?

Description

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

More Info

Submitted On
ByMike Douglas
LevelBeginner
User Rating4.0 (28 globes from 7 users)
CompatibilityVB 6.0
CategoryMiscellaneous
WorldVisual Basic
Archive File

Source Code

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