Search Tools Links Login

IsFormLoaded?


Visual Basic 6, or VB Classic

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

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 283 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.