>>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.
---------