Listview scroll question

  • Thread starter Thread starter whistler
  • Start date Start date
W

whistler

I have a listview (i.e. not a LISTBOX) in one of my forms with below it some fields that show information belonging to the selected record.

When the form opens the first record in the listview is selected by default and the additional fields below display fine.

Also, when I click on another record in the listview, the additional fields display fine.

What I want to accomplish is the following: I want the user to be able to use the "arrow" keys (up and down) to scroll through the listview records with the below fields refreshing. Thus the user avoids switching between keyboard and mouse clicking.

Question: which event on the listview should I use to assign vba code to ?

Any help is appreciated.

Thanks ,

Jos


--------------= Posted using GrabIt =----------------
------= Binary Usenet downloading made easy =---------
-= Get GrabIt for free from http://www.shemes.com/ =-
 
eActually, that's ItemClick, not Item_Click. You can probably copy and past
the same code you're using for the Click event of the listview control.

Ken
 
Back
Top