Mousemove on ListBox: What Col/Row??
I have a ListBox called MainList.
I do a MainList_MouseMove(Button as Integer, Shift as Integer, x as single, y as single) and get the X and Y values of the cursor hovering on the list, but how can I get the value of the cell I'm hovering on?
I tried Msgbox HitTest(X, Y) but got Sub or Function not defined ...
I think I've done this previously but dont remember how (or if that was with a flexgrid)
Thanks for all Your help
Steff
I have a ListBox called MainList.
I do a MainList_MouseMove(Button as Integer, Shift as Integer, x as single, y as single) and get the X and Y values of the cursor hovering on the list, but how can I get the value of the cell I'm hovering on?
I tried Msgbox HitTest(X, Y) but got Sub or Function not defined ...
I think I've done this previously but dont remember how (or if that was with a flexgrid)
Thanks for all Your help
Steff
Last edited: