
Checking if a form is in Memory (or not)
In a boolean function routine
Function FindForm(strName as string) as boolean
Dim fm as form
for each fm in forms
if fm.name = "The name of the form I'm looking for" then
FindForm = true
exit function
end if
next
FindForm = False
End Function
Hi there Folks,
On the start up of the application, I load and show a particular form - I then proceed to hide the particular form.
(The user has an option to unload the form -completely)
How can I check if the particular form is still in memory, so that I dont reload another instance of the form - instead I just make the form Visible (if it is hidden).
So for instance, if I have a form named frm0004, I need to check if the form is still in memory or not, or if it is hidden or visible.
Thanks for your time and assistance.
Regards
Moahmmed