I want to get the text from the first column of the selected row of a listview. Can anyone give me a hand?
There are a few ways, depending on how you've configured your listview... what do you currently have?
I believe it is report style
That isn't what you have. When you configure your listview, you sepecify what the columns are, etc. There are a LOT of parameters and associated classes for a listview.
ShowMessage( ListView1.Selected.Caption );
or
ShowMessage( ListView1.Selected.SubItems[0] );
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks