on serveral apps, i am getting unwanted scrolling to the top of the list box.
it occurs when the list exceeds the number of visual rows. i scroll to the end of the list with the mouse, then when i click on any one of the bottom rows ( that are at a range above the the number of visual row, the listbox will scroll to the top of the list.
i am not using lisbox.scrollposition on any of the ListBox.events
are you repopulating the listbox? or adding to it after it is initially displayed?
if so… store the ScrollPostion before you do either of those, and reset it again after… that might help
For me, this appears when I scroll the ListBox using fingers on the TouchPad doing some research operations. Probably with a second window with a ListBox open (for comparisons) beside the other one.
Think you are searching something by a number or by a date, and click while the ListBox is scrolling on the searched Row and get a different one selected, usually some tens before (I think it was before).
I never was able to determine whats wrong.
I do not had it recently, but only because I do not do that search sequences.
Xojo 2015r1 / El Capitan / IDE and Compiled.
I think I saw that behavior on more recent IDEs (in these IDEs, not compiled applications).