Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Display Value
Message
From
08/10/2003 15:45:34
 
 
To
08/10/2003 15:36:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00836438
Message ID:
00836444
Views:
8
SWAG:
Is the Value in the combo's RowSource? If it's not it won't show up.
e.g.,
ocombo.AddItem("A")
ocombo.AddItem("B")
ocombo.AddItem("C")
ocombo.DisplayValue="D" && you see D
ocombo.Value="D"        && you see nothing
>When I put a something in the Value property of a combobox, nothing displays on the screen for that combobox. Whereas, if I put something in DisplayValue something will display. If I put a value in both, nothing will display. I am sure I am doing something wrong, or forgetting to switch another property somewhere. What can I do to have a default value display on the screen as well as have something stored in the value property? I would prefer to do this on the property sheet and not hardcode it.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform