Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling Text & List Boxes
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Disabling Text & List Boxes
Divers
Thread ID:
00790515
Message ID:
00790515
Vues:
41
I have form with 2 text boxes and 2 list boxes. On the same form I have an option group. When I select the second option I want the 2 text boxes and 2 list boxes to grey out (Disable)

I have tried

IF thisform.option1.value=1 then
thisform.text1.enable=.F.
thisform.text2.enable=.F.
thisform.List1.enable=.F.
thisform.List2.enable=.F.
else
endif

Where would I put this syntax i.e. The form init event maybe

Thankyou
Neil Lewis
IT R&D Manager
Velmore Ltd
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform