GU_mr_Sand_Man
Board Regular
- Joined
- May 26, 2004
- Messages
- 88
Hello all. I have a list box in a user form that contains a list of several numbers who's rowsource is Table1. What I would like to do is to create a procedure where a user, when highlighting any number in the list box, would have a tooltip text box pop up displaying a different value in the same record as that number from Table1. For example...
Table1...
(Col1) (Col2)
Cindy 123456
Carol 654321
123456 and 654321 are displayed in the list box. When 123456 is highlighted with the mouse, a tooltip text box will pop up displaying "Cindy" and will remain as "Cindy" until the mouse moves off of 123456. If the mouse moves to 654321, the tooltip text box will change to "Carol". When the mouse no longer highlights anything in the list box, the tooltip text box disappears.
I'm pretty sure that the MouseMove Event coupled with the Tooltiptext property is required to make this work; the problem is that I have no idea how to make this happen. Any help (especially code) would be greatly appreciated. Thanks in advance, and take care!
Table1...
(Col1) (Col2)
Cindy 123456
Carol 654321
123456 and 654321 are displayed in the list box. When 123456 is highlighted with the mouse, a tooltip text box will pop up displaying "Cindy" and will remain as "Cindy" until the mouse moves off of 123456. If the mouse moves to 654321, the tooltip text box will change to "Carol". When the mouse no longer highlights anything in the list box, the tooltip text box disappears.
I'm pretty sure that the MouseMove Event coupled with the Tooltiptext property is required to make this work; the problem is that I have no idea how to make this happen. Any help (especially code) would be greatly appreciated. Thanks in advance, and take care!