Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form with Check Boxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00582763
Message ID:
00582848
Vues:
41
>>>>>I have a form that contains 21 check boxes. Is there a simple, efficient way to determine which boxes are checked?
>>>>
>>>>You may create an array property for your form with all checkboxes listed. Then just navigate through this array and check status of each checkbox (Could be a second dimension in this array).
>>>
>>>Look at AMEMBERS() function to populate this array :-)
>>
>>Right, though it could be even hardcoded for all these 21. If they have names like check1 - check21, you even don't need to an array (though I like this idea) and you can just do a simple loop...
>
>
>Anyway, i prefer the solution proposed by Marcia :-)

Well, if form has 500 or more controls, it would be slower, than mine :)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform