Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with a dropdown box
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00514082
Message ID:
00514085
Views:
14
Kjell,

The cbo will always display only the first column when it is not dropped, that is just they way they work. Switch your column order and set the BoundColumn to 2 and set BoundTo = .t.

>I have a problem that I cant find any solution to. I must have missed something, because I don't think this really is a problem:
>I have an array with 2 columns, and a dropdown list box. It doesn't matter what I do, I always get the first column of a selected item in the visible list box when the user has made a choice from the dropdown list.
>I want column 2 to be returned visible, but still pass the value from col 1 to a variable. (I will not change place between col1 and col2 in the array.)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform