Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box value
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00526254
Message ID:
00526541
Views:
16
>Is there a ControlSource for your combo? If so, the display should automatically be filled with the value from the ControlSource--if it exists in the dropdown portion of the combo. If there's no ControlSource for the combo, then just set the DisplayValue.

You can also manipulate with ListIndex property of the combo. Set it to 1.

>>Is it me who didn't quite understand or the way i explained it ?!? In fact, what I want is to "force" a value in a combo box, as a display value. Example: My combo box's row source type is at "Fields" (like I said before) and I know that my combo contains a new value that we'll call "TOTO". 'Cause my combo is not set at "Value" (in this last case, we can easily say: Combobox.Value = "TOTO"), how can I say to it: "Display me TOTO" ? I thought I would see a property like "Combobox.Set" or "Combobox.Select", but it doesn't exist. To resume, how "force" a combobox to display a value that we know he has? Thanks for your patience! :o)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform