Results 1 to 2 of 2

Thread: ListView

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Location
    Thailand
    Posts
    221

    ListView

    When I set ListView1.View = lvwReport,how can I get value from specified column?

    Thank You,
    Teeravee Sirinapasawasdee
    Gestalt IT Consulting Group
    Growth Your Business With e-Process

  2. #2
    INXSIVE Bruce Fox's Avatar
    Join Date
    Sep 2001
    Location
    Melbourne, Australia
    Posts
    7,429
    VB Code:
    1. 'Will get the selected item in the First Colum
    2.  MsgBox ListView1.SelectedItem
    3.  
    4.  'Will get the selected item in the 3rd Colum
    5.  MsgBox ListView1.SelectedItem.ListSubItems(2).Text

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