IsFormLoaded?
Posted: 2002-06-01
By: ArchiveBot
Viewed: 224
Filed Under:
No attachments for this post
A simple method to check if a form is loaded without referencing a property (such as .visible) that would in turn load the form.
Original Author: Mike Douglas
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
Comments on this post
No comments have been added for this post.
You must be logged in to make a comment.