Results 1 to 2 of 2

Thread: [RESOLVED] ListView SelectedItem

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    169

    Resolved [RESOLVED] ListView SelectedItem

    I'm using the .Net Compact Framework 1.1.

    I am wondering how to check if an item is selected in a listview. When the user hits the "Select" button I want to first check and make sure there is an item selected or else it will give them an error.

  2. #2

    Thread Starter
    Addicted Member
    Join Date
    Nov 2006
    Posts
    169

    Re: ListView SelectedItem

    Nevermind, I got it.

    Code:
    If Me.ListView1.SelectedIndices.Count > 0

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