FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Mouseover - Listbox item
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Mouseover - Listbox item
Posted: Tue Jan 15, 2013 01:07 AM

Is it possible to highlight an item in a listbox (entire row) in red when the mouse is over that item.
I would still like to keep the standard blue for a selected item.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Mouseover - Listbox item
Posted: Fri Jan 25, 2013 06:18 PM

Jeff,

I am sure it is possible but I think it would require a fair amount of work possibly requiring modification of the listbox control source too.

This is not standard behavior so I would advise it.

Also, there are some issues that would concern me. Moving the mouse all the way down or up a table would require redrawing each record as the cursor passes over it, so there might be a significant lag time and a rather disconcerting flashing of colors.

As there is the dilemma of what color to use when the cursor is over the currently selected record.

If you are attempting to provide a more visually distinct row when a user wants to look at that row then just clicking on the row will do that already (without any modifications). Do you have a different reason for wanting this?

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Mouseover - Listbox item
Posted: Fri Jan 25, 2013 07:37 PM

One of my customers had asked for this ... at the time, their reasoning seemed to make sense but now I don't fully remember what their reasoning was :oops:
They haven't mentioned it again so i think I'm just going to leave it alone. As you said ... it's not standard so I will just leave it as it :)

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)

Continue the discussion