Closed Thread
Results 1 to 5 of 5

Thread: listview selected text

  1. #1
    kruegs35 is offline Newbie
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    0

    listview selected text

    I want to get the text from the first column of the selected row of a listview. Can anyone give me a hand?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: listview selected text

    There are a few ways, depending on how you've configured your listview... what do you currently have?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    kruegs35 is offline Newbie
    Join Date
    Sep 2007
    Posts
    8
    Rep Power
    0

    Re: listview selected text

    I believe it is report style

  5. #4
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: listview selected text

    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.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  6. #5
    Rustix666's Avatar
    Rustix666 is offline Newbie
    Join Date
    Dec 2009
    Posts
    15
    Rep Power
    0

    Re: listview selected text

    ShowMessage( ListView1.Selected.Caption );
    or
    ShowMessage( ListView1.Selected.SubItems[0] );

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [JS] Set an option element as selected
    By Alhazred in forum JavaScript and CSS
    Replies: 1
    Last Post: 01-31-2011, 02:36 AM
  2. Label text change while node is selected
    By Demodex in forum C# Programming
    Replies: 0
    Last Post: 12-28-2009, 05:32 AM
  3. Get selected in <select>...?
    By nick3 in forum PHP Development
    Replies: 5
    Last Post: 11-29-2009, 01:46 PM
  4. Retrieving selected text from outside.
    By estro in forum Python
    Replies: 7
    Last Post: 04-12-2009, 08:37 PM
  5. [Resolved] No File Selected
    By wifistudios in forum ionFiles
    Replies: 9
    Last Post: 12-27-2007, 08:24 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts