|
-
Jul 14th, 2002, 11:30 PM
#1
Thread Starter
Addicted Member
loaded form
Hi Guys (oops !! 'n Gals)
Is there is a way to know if a form is currently loaded in memory.
something like
VB Code:
if isloaded(frmMain) then
Unload frmMain
endif
All Smiles
Anil
-
Jul 15th, 2002, 12:14 AM
#2
VB Code:
Private Sub cmd_Click()
Dim frm As Form
For Each frm In Forms
If frm.caption <> "welcome" Then
msgbox "Form welcome Found"
End If
Next frm
End Sub
-
Jul 15th, 2002, 12:22 AM
#3
Check the Name property instead. It's less likely to be changed.
-
Jul 15th, 2002, 12:36 AM
#4
u can use the tag , name caption properties this was just to give u a idea...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|