Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining number of objects in a form
Message
De
22/11/1999 19:43:18
Jorge Haro
Independent Consultant
Juarez, Mexique
 
 
À
22/11/1999 19:34:18
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00294135
Message ID:
00294155
Vues:
25
>You put your finger on it, actually. The objects collection is a collection and not really an array. The info in the debugger is erroneous.

And the helpfile calls it an array too, talk about misleading, there's just one mistery left then, why isn't the DE in the Objects a..oops, collection?.

>Instead of using ALEN, you would check the .ControlCount property which will tell you how many controls are in the collection. (As Erik pointed out, it doesn't tell you about the controls with containers, though.)

I guess while looping through the objects I'd have to check for a ControlCount larger than 0, and have the function call itself, right?, I've never tried recursion in VFP, I'll have to check that message Erik mentioned, if I can get to it that is :).
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform