Re: highlighting or underlining list items
Thanks, this works great.
"Steve Johnson" <email@example.com> wrote:
>Rich, try this:
>Assuming that when your cursor leaves the listview control it will hit the
>underlying form you can put
>"Set listview1.drophighlight = Nothing"
>in the mousemove event of the form. This should help but may not completely
>solve it. You could also put the same line in the mousemove event of any
>control that you may move the mouse to.
>Hope this helps.
>"rich" <firstname.lastname@example.org> wrote:
>>steve, this is what i need thanks. i've tested this and i've discovered
>>if i move my cursor over a list item, the item is highlighted, but when
>>quickly move the cursor away from the listview control the item that was
>>highlighted is still highlighted. any way i can fix this?
>>"Steve Johnson" <email@example.com> wrote:
>>>"rich" <firstname.lastname@example.org> wrote:
>>>>i'm using a listview control vb6. this is the effect i'm looking for,
>>>>i move my mouse over an item in the listview i want that item either
>>>>or highlighted. can anyone help?
>>>Try the following in the Mouse_Move event of your listview:
>>>Set Listview1.Drophighlight = Listview1.HitTest(x, y)
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center