Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object Count in a Form
Message
De
27/04/2001 11:22:09
 
 
À
27/04/2001 11:14:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00500662
Message ID:
00500763
Vues:
24
>Larry is quite right - both thisform.Objects and Thisform.Controls are collections so aLen won't work on them (mutter mutter)
>
>instead you could do -
>
>
>lnCount = 0
>For each loControl in Thisform.Controls
>lnCount = lnCount + 1
>Next
>
>

...or you could just use Thisform.ControlCount...
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform