How Do I automatically Select a listview item on mouseover??
------------------
OmarSwan
[email protected]
http://omarswan.da.ru/
"Jesus is Lord"
Printable View
How Do I automatically Select a listview item on mouseover??
------------------
OmarSwan
[email protected]
http://omarswan.da.ru/
"Jesus is Lord"
I'm not sure if it is gonna work (I didn't test it), but you can give it a try:
------------------Code:Private Sub ListView1_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)
Dim AnyItem As ListItem
Set AnyItem = ListView1.HitTest(x, y)
If Not AnyItem Is Nothing Then
Set ListView1.DropHighlight = AnyItem
ListView1.DropHighlight.Selected = True
End If
End Sub
Visual Basic Programmer
------------------
PolComSoft
You will hear a lot about it.
[This message has been edited by QWERTY (edited 01-08-2000).]