Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent blank/null value in DropDown Combo
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00573000
Message ID:
00573003
Vues:
23
This message has been marked as the solution to the initial question of the thread.
You can change the Style property of a combobox to 2-Dropdown List. This way a user would be unable to type anything.

>I have a simple dropdown combo box on my form. Right now I'm just using a RowSourcType of "Value". (later I may change that to a table or an array.) In any case I would like to prevent the user from leaving the combo box blank or typing something other than the values on the list and then proceeding. I would like to maybe set it to the value of the first item on the list if they leave it blank and if they try to type an invalid value. I don't see a property for setting that behavior. How do you limit the user to only the choices in your combo box?
>
>It eludes me.
>
>Thanks
>
>Elgin
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform