Link to home
Start Free TrialLog in
Avatar of isnoend2001
isnoend2001Flag for United States of America

asked on

Mouse move event in a combo box in vb6

I have items in the combox like this
12-01-2015.rtf
12-25-2015.rtf
12-26-2015.rtf
Yr07-04-2016.rtf
Yr08-01-2016.rtf
Yr08-03-2016.rtf
Yr09-03-2015.rtf
In the combobox
is there any way to get the selected index of items by moving the mouse over them and not clicking them
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

you can try combo1.SelectedIndex

no need to get it via mouseover event...
Avatar of isnoend2001

ASKER

Where would that be written
Here are some of the events:
Private Sub cboTasks_GotFocus()
Private Sub cboTasks_Click()
Private Sub cboTasks_DropDown()
Private Sub cboTasks_Scroll()
Private Sub cboTasks_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
None seem to do what i want
ASKER CERTIFIED SOLUTION
Avatar of Martin Liss
Martin Liss
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If that doesn't help, please describe in other words what you want to do.
Thanks I am going to use the click event seeing how the combobox does not have mouseover or mousemove event.