Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form with Check Boxes
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00582763
Message ID:
00582848
Views:
39
>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform