Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any VFP's FormCount equivalent in VB?
Message
 
To
08/09/2000 09:35:56
Marlou Gargantos
Independent Consultant
Manila, Philippines
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00414092
Message ID:
00414114
Views:
20
Unfortunately, the Forms collection will also include non-MDI forms. What I do is something like this (don't have the exact code on me but I think this does it):


Public Function ChildrenRemain() as boolean
ChildrenRemain = False
for i = 1 to Forms.Count
If forms(i).MDIChild then
ChildrenRemain = True
exit function
end if
End Function
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform