G_Loc
Unregistered
- Local time
- Today, 16:10
- Joined
- May 26, 2006
- Messages
- 24
Well I'm having the all too common issue of the mouse wheel scrolling through all records in a form. However, I've decided to make light of the situation and adapt the form to the mouse wheel.
I have a list box on the form and whenever the user clicks on a record in the list, details about that record are displayed in the lower portion of the form. If the user scrolls, the detail portion of the record changes, but the original item remains highlighted in the list. I want to make it so that when users scroll, the selected item also changes to correspond with the item being displayed in the detailed view.
What I've thought of is to somehow relate the record in the detail view with the list index of the selected record. When the scroll wheel is used, the list index is changed to reflect the record in the detail view. I did something similar to save the record selection when switching between tabs, but I'm not too sure how to do what I want with the scroll wheel.
I've searched and so far haven't found anything. Any help would be appreciated
Thanks
I have a list box on the form and whenever the user clicks on a record in the list, details about that record are displayed in the lower portion of the form. If the user scrolls, the detail portion of the record changes, but the original item remains highlighted in the list. I want to make it so that when users scroll, the selected item also changes to correspond with the item being displayed in the detailed view.
What I've thought of is to somehow relate the record in the detail view with the list index of the selected record. When the scroll wheel is used, the list index is changed to reflect the record in the detail view. I did something similar to save the record selection when switching between tabs, but I'm not too sure how to do what I want with the scroll wheel.
I've searched and so far haven't found anything. Any help would be appreciated
Thanks