Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I Disable all the textboxes in a form?
Message
 
À
15/02/1999 16:21:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00187810
Message ID:
00187824
Vues:
20
>How can I Disable all the textboxes in a form?.
>
>Is there a way to acces the "enabled" property for all object of a certain kind, within a form? Or do I have to set the Enabled=.F. for each of the objects in the form.
>
>
>
>Sergio.

Sergio,
use the Setall method from the container object ( in your case the form ),

e.g. to disable all textboxes on a form try this

thisform.SetAll('enabled',.f.,'whateveryourtextboxclassiscalled')

Regards
Pete Kane
Regards,
Peter J. Kane



Pete
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform