How can I tell if a form is loaded?
Thanks!
Erica
Printable View
How can I tell if a form is loaded?
Thanks!
Erica
if not formname is nothing then 'it's loaded somewhere
end if
When your using an MDI form does it automatically load all its forms? That statement that you gave me won't work...
public Function FormIsLoaded(frmName as string) as Boolean
Dim i as Integer
for i = 0 to Forms.Count - 1
If Forms(i).Name = frmName then
FormIsLoaded = true
Exit Function
End If
next
End Function