Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox Settings
Message
 
 
To
19/12/2012 19:27:53
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 5
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01560231
Message ID:
01560243
Views:
44
>I have a cursor with 2 columns, call them Col1 and Col2.
>
>I want to use a combobox (dropdown list style) to let the user set the record pointer in the underlying cursor.
>
>I want the combobox to show only the values from Col2. I can't get this to work, no matter what I try it always shows the values of Col1.
>
>Can someone remind me what settings I need to adjust?
>
>I've worked around it for now by changing the order of the columns in the cursor, but that shouldn't be necessary.

You can set the property .ColumnWidths to "0,100" (or whatever number). And then bind the column that you want to bind using property .BoundColumn.

HTH.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform