Search Tools Links Login


Posted: 2002-06-01
By: ArchiveBot
Viewed: 224

Filed Under:

Visual Basic 6, Visual Basic 6

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


Public Function IsFormLoaded(ByVal FormName As String) As Boolean
  Dim frm As Form
  For Each frm In Forms
    If LCase( = 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.