Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Looping through a set of controls
Message
From
29/01/2003 15:24:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00746597
Message ID:
00746864
Views:
21
>If I have 20 textboxs, couple listboxs, and a few command buttons... and I want to enable/disable them all.... is there an easy way I can loop through a forms commands and disable them all?

You already got some advice. I think you can also go through the objects() collection. See also FOR EACH.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform