Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmitacally Disable text boxes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00250597
Message ID:
00250598
Vues:
10
>I have created a form where some fields are dependent on user input. Based on the users input, I want to programmitacally disable some fields. I can move around them with setfocus() events, but that doesn't stop the user from clicking on the fields.
>
>Any Ideas.
>
>TIA.
>
>Rob
You could set the ENABLED (or Visible) property to .f. as default. Then, when a user enters a value in prerequisite field, change the enabled/visible property to .T. The valid of the prerequisite field should also disable the other fields if no longer meet the condition to allow entry.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform