Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListView Control
Message
De
22/06/1998 07:04:11
 
 
À
21/06/1998 06:44:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00110336
Message ID:
00110501
Vues:
19
>>I'm using MS Listview control in a form. The listview has 5 columns and display the records from a table. How can i do to access the information displayed in the 4 column of a row?
>>The itemclick method only give me the first column index number, and with this:
>>
>>thisform.listview.listitems(this.item.index).text
>>
>>i get the context of the index value, but this is only for the first column.
>
>Francisco:
>I've not tested in a listview, but maybe is the same as listbox:
>
>thisform.listview.list(row, column)
>
>Hope this helps

Sorry, my mistake. Listview is not like listbox. I think you must access column 4 through subitems property. Subitems(3) = column 4.

listview1.listitems(n).subitems(3)

There is a sample in the listview help.
Saludos,
A.G.P.
---------
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform