Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox DisplayValue vs Text
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Combobox DisplayValue vs Text
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01537528
Message ID:
01537528
Views:
75
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.
"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
Next
Reply
Map
View

Click here to load this message in the networking platform