Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling all controls on a form
Message
De
22/01/2002 20:05:18
 
 
À
22/01/2002 19:47:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00608728
Message ID:
00608733
Vues:
17
Pete,
Try
FOR EACH oControl IN ThisForm.Controls
oControl.Enabled = .F.
ENDFOR

Thanks, Pete

(Trial-and-error programming!)

>I've seen this somewhere before, but I can't locate it in any of my reference books. How can you, e.g. disable all the controls on a form? Isn't it something like
>
>FOR EACH xxxx IN ThisForm
> xxxx.ENABLED = .F.
>ENDFOR
>
>Sorry to bother y'all for this elementary question, but I just can't find or figure out the answer.
Pete Donahoe
Once a programmer, always a programmer!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform