Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List boxex & Column Selection (2)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00057607
Message ID:
00057983
Views:
32
>>Sorry about the last message, big fingers send it... :)
>>
>>I have a list box with 3 columns. It is populated with name, address, city. What I need to be able todo is to click on a item (line) in the list box and pull out the address & city. The list box seems to be bound to column1.
>>
>>I tried the following:
>>
>>this.parent.ltMultiSelection.BoundColumn = 2
>>tvRefe = this.parent.ltMultiSelection.value
>>this.parent.ltMultiSelection.BoundColumn = 3
>>tvDivi = this.parent.ltMultiSelection.value
>>set filter to (datafile.fmem_refe = tvRefe) .and. (datafile.fmem_divi = tvDivi)
>>
>>Any ideas?
>>
>>Thanks in advance.
>>
>>
>>James
>
>
>WITH List1
> cAddress = List(.ListIndex,2)
> cCity = .List(.ListIndex,3)
>ENDWITH
>
>Dan


Thanks Dan.

James
Previous
Reply
Map
View

Click here to load this message in the networking platform