Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any VFP's FormCount equivalent in VB?
Message
 
À
08/09/2000 09:35:56
Marlou Gargantos
Independent Consultant
Manila, Philippines
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00414092
Message ID:
00414114
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform