Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Allow anly choices in combobox?
Message
 
À
15/11/1997 00:40:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00060407
Message ID:
00060415
Vues:
27
>>>>What do I need to do to make a combobox only allow a user to pick from it's choices and not be allowed to type anything in?
>>>
>>>Style need to be Dropdown list.
>>
>>Thanks Michel, that works great. However, when the field is initially blank (the user chose add) the dropdown list consists of the valid choices plus a blank. Besides assigning a default value on add, which the user doesn't want, how do I prevent the blank from being in the list?
>
>Have you tried setting the value to 1?

Do you mean the .Value property? If so, why 1? The values in the list are type charater.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform