Results 1 to 3 of 3

Thread: Listview

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2004
    Posts
    87

    Listview

    how would i get the first item of the listview? i know how to get the subitems, but not the main item

  2. #2

  3. #3
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989
    ListView1.ListItems.Item(1).Text
    ListView1.ListItems.Item(1).ListSubItems.Item(1).Text
    ListView1.ListItems.Item(1).ListSubItems.Item(2).Text
    ListView1.ListItems.Item(1).ListSubItems.Item(3).Text

    If your listview has 4 columns this will give you the the contents of the first item (row) of the listview

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