|
-
January 10th, 2000, 09:51 PM
#1
Determine if a form is loaded?
How do I determine if a form is loaded? I tried to use
if form.visible = true then
'code here
end if
but that caused the form's load sub routine to be executed and I can't have that. Someone out there have a good idea?
-
January 10th, 2000, 10:10 PM
#2
Re: Determine if a form is loaded?
You have to iterate thru the forms collection:
public Function FormLoded(sFormName as string) as Boolean
Dim frm as form
for each frm in forms
if frm.name = sFormName then
FormLoaded=true
exit function
end if
next 'frm
end function
If the name is not found then FormLoaded=False
Jared Youtsey
-
January 10th, 2000, 10:24 PM
#3
Re: Determine if a form is loaded?
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
|