Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box - Column 2
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00247429
Message ID:
00247479
Views:
18
>A newbie's question for VFP6 please.
>I set column count of my Combobox to 2 for field Custid and Cusname. To get custid, I code a variable aCustid=this.combo1.value. What must I do to get the Cname of the combobox ie the 2nd column.
>Please help. Tks

This.Combo1.List(This.Combo1.ListIndex,2)

ListIndex = current row
2 = desired column

Not completely applicable to listboxes that allow multi-select

HTH
Dan
St. Petersburg, FL

"I started out with nothing and I still have most of it left"
Previous
Reply
Map
View

Click here to load this message in the networking platform