Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get values from all columns of combobox?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00081592
Message ID:
00081691
Views:
24
>>>I have a combobox with RowSourceType=0 and 4 columns. I populate the combo using AddListItem(). What I want to be able to do is, when an item is selected, column1 value shows in combo and columns 2-4 show in 3 following textboxes respectively. Any ideas? TIA
>>
>>You can use the combo list property:
>>
>>text1.value = combo.list(1,3), for example, in combo click...
>
>More generically, I should add,
>
>text1.value = this.list(this.listitemid,ncol) in combo click

Bruce, do you know about awful Combo.Listitemid problem? It happens to disappear if you open the combo, highlight new item and mouse click outside the combo.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform