Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox DisplayValue vs Text
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01537528
Message ID:
01537535
Vues:
30
>>>>Hi,
>>>>
>>>>I have a combobox bound to an array. If user selects a value from the pull-down list the Value property of the combobox is set according to the value in the corresponding array. If user enters a value in the combobox manually, the Value property of the combo is empty. And then I have to use either DisplayValue or Text. So far in my tests I cannot find where the values in DisplayValue or Text would be different. Is there a real difference between DisplayValue and Text? Which one would be a better practice to use?
>>>>TIA.
>>>
>>>I always use DisplayValue.
>>
>>Ok. If my code breaks I will blame you <g>, just kidding. I will go with DisplayValue.
>>Thank you!
>
>Or you can listen to the woman and do the opposite!

Now you are talking like a woman <g>.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform