Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List boxex & Column Selection (2)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00057607
Message ID:
00057983
Vues:
37
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform