A Form has a ListBox wherein only 1 item is visible at a time. Usually when a ListBox is scrolled using the mouse, the previous/next item becomes visible to him but the item that becomes visible DOESN'T get selected. The user has to click the item explicitly to select it (of course, if a user uses the keyboard to scroll the ListBox, the items get selected too but that's a different matter).
What I want is when a user scrolls the ListBox using his mouse, the item that becomes visible to him should automatically get selected as well.
Can this be accomplished? If yes, how?
Note that the ListBox doesn't include CheckBoxes.




ARPAN
Reply With Quote