Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListView Control
Message
From
22/06/1998 07:04:11
 
 
To
21/06/1998 06:44:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00110336
Message ID:
00110501
Views:
20
>>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.
---------
Previous
Reply
Map
View

Click here to load this message in the networking platform