Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using FOR EACH
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00193729
Message ID:
00193743
Vues:
16
Paul,

This looks to me like it should work, with one proviso (which seems silly, but who knows): looks like FOR...EACH should end in a ENDFOR, not a NEXT.

Good luck,

Jim N

>I've got a form with a grid control on it that can have up to 132 columns in it (but they're only going to have a width of 10). I need to be able to modify each column so that it's Width is 10. It looked like the FOR EACH command was exactly what I was looking for, but it looks like it might not work.
>
> Here's what I tried:
>
>
>FOR EACH Column IN THISFORM.Grid1
>    Column.Width = 12
>NEXT
>
>
>Is there another way of accomplishing this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform