README.md
December 4, 2022 ยท View on GitHub
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 | |
| By | Mike Douglas |
| Level | Beginner |
| User Rating | 4.0 (28 globes from 7 users) |
| Compatibility | VB 6.0 |
| Category | Miscellaneous |
| World | Visual 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