Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement