-
Re: highlighting or underlining list items
Thanks, this works great.
rich
"Steve Johnson" <steve.johnson@columbia.net> 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" <rperez@innotrac.com> wrote:
>>
>>steve, this is what i need thanks. i've tested this and i've discovered
>that
>>if i move my cursor over a list item, the item is highlighted, but when
>i
>>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" <steve.johnson@columbia.net> wrote:
>>>
>>>"rich" <rperez@innotrac.com> wrote:
>>>>
>>>>i'm using a listview control vb6. this is the effect i'm looking for,
>when
>>>>i move my mouse over an item in the listview i want that item either
underlined
>>>>or highlighted. can anyone help?
>>>
>>>Try the following in the Mouse_Move event of your listview:
>>>
>>>Set Listview1.Drophighlight = Listview1.HitTest(x, y)
>>>
>>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks