Results 1 to 3 of 3

Thread: How to return the value of a cell in ListView control?

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    Brussels, Belgium
    Posts
    2

    Wink How to return the value of a cell in ListView control?

    Hello folks;

    I have a question about the ListView control:
    How can I get the contents of a certain cell?

    For example: the value of variable “a” should be compared with all cells which are in the third column “ThrirdRow” of Listview “show”.

    How can I – in my code – refer to the contents of the first cell in that third row? Does Listview use some kind of coordinates to return the value of a certain cell?

    Many thanks in advance;
    Cygnus

  2. #2
    jim mcnamara
    Guest
    Lview.ListItems(3).Subitems(1)

    This is the third colum first row in that column.

    The columns are called a ListItem, and are in a collection called ListItems. Each ListItem has SubItems.

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2001
    Location
    Brussels, Belgium
    Posts
    2

    Thanks Mr McNamara

    Thanks you for your quick reply!

Posting Permissions

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



Click Here to Expand Forum to Full Width