Board index » delphi » ListView => items.item[?].caption question

ListView => items.item[?].caption question

How can i get the caption of a item? If you have a listbox then
you could use ListBox1.ItemIndex but how can i get the caption
from a selected item in vsIcon style?

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

 

Re:ListView => items.item[?].caption question


Quote
oscar wrote:
> How can i get the caption of a item? If you have a listbox then
> you could use ListBox1.ItemIndex but how can i get the caption
> from a selected item in vsIcon style?

ListView1.Selected.Caption for the caption
ListView1.Selected.Index for the index number

--
Kent Briggs, kbri...@briggsoft.com
Briggs Softworks, http://www.briggsoft.com

Other Threads