I have a listview with 4 columns...How do I retrieve a value that I already have in the columns 3 & 4 to a label??

label.text = listview.items(index).subitems(column).text

The index is the line number, and colum is the item you want to retrieve ... both are 0 based.

The index is the line number, and colum is the item you want to retrieve ... both are 0 based.

Thank you

Could you please be more specific...

thanks

to retrieve item from column 4 on line 1 of the list ....

label.text = listview.items(0).subitems(3).text

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.