Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox value using empty string
Message
De
26/02/2009 14:40:12
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Application:
Desktop
Divers
Thread ID:
01384366
Message ID:
01384378
Vues:
58
>>I'm setting the properties of a dropdown list as follows:
>>
>>BoundCOlumn: 2
>>BoundTo: .T.
>>RowSource: None, ,E-mail,E,Paper,P,Other,O
>>RowSourceType: 1-Value
>>
>>When I run the form, I set the dropdown list's value property to " " expecting to see the word "None". Instead I see an empty/blank selection. If I dropdown the list, I see the four choices plus an additional empty/blank value.
>>
>>If I set the value to "P", the dropdown will display "Paper". What do I need to do in this case to get the value to show "None"?
>>
>>TIA,
>>Mike
>
>Did you try using DisplayValue?



Thanks, Naomi.

That works, but why doesn't the Value property not work if I set it to an empty string ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform