As the title says, using a ListBox
I want to highlight the row which is under the mouse, but not select it.
My approach has been to determine the row by using mouse position with ListBox::getRowContainingPosition
, and doing the highlight in ListBoxModel::paintListBoxItem
.
But, since the ListBox
is a composite Component
, I can’t just capture the ListBox
mouse events to track mouse location.
So I thought I would reach out to the hive mind and see if anyone has done something similar, or has some suggestions.
Thanks in advance.