+ Reply to Thread
Results 1 to 3 of 3

Creating Selected Item Changed Event for ListView

  1. #1
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Creating Selected Item Changed Event for ListView

    Hi I'm a bit stumped and my brain's turned to jelly, symptom of Christmas I think :p

    I'm using the listview control to display data. I've extended this control with a class to make make it a little more suitable to what I'm doing, this all works fine. However it appears there is no selected item changed event for this control, which is causing me an issue. I've got it working for click and arrow keys, but can't suss it out for page down/up.

    Here's what I've got:

    In the declarations:
    Please Login or Register  to view this content.
    In the class (where pLV is the listview):
    Please Login or Register  to view this content.
    I'd be grateful for any pointers, I can post the workbook if you like, but it's WIP and database driven so it isn't going to do a lot...


    for the time being I've disabled page down/up, but I'd like them to work
    Cheers
    Last edited by Kyle123; 12-22-2011 at 09:54 AM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,431

    Re: Creating Selected Item Changed Event for ListView

    There is an ItemClick event. Can you not use that?
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Creating Selected Item Changed Event for ListView

    Brill I hadn't figured on that firing on page down

    Thanks Andy

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1