Lazarus
Programming => Widgetset => Cocoa => Topic started by: oh_ha on September 17, 2021, 06:07:18 pm
-
In order to make a selected item visible that is currently not visible in a long list in a ListView there is the method "TListItem.MakeVisible". This works well on Windows and Linux, but not on MacOS. On MacOS, when calling "MakeVisible", simply nothing happens, i.e. the selected item does not scroll into view.
Does anyone have example code for MacOS how to implement this functionality?
Thanks and regards, Olaf
-
implemented at this branch (https://github.com/skalogryz/Lazarus/tree/cocoa)
diff (https://github.com/skalogryz/Lazarus/commit/d5dbaa0ab618134d8e6ef9d73c11f35f22432dc6)
-
Then let's merge this branch, pls?
-
Then let's merge this branch, pls?
i didn't care to have a privilege of pushing changes to gitlab repo. so I cannot do it.
-
Sorry for my late reply. After figuring out how to integrate the updated files into my Lazarus environment I was able to compile my program using the changed files.
The result is most excellent: "TListItem.MakeVisible" now works in MacOS, too. Thanks for your help!
One question remains: when will these changes be merged into the Lazarus installation files available on the homepage?
Thanks again for your efforts,
Olaf
-
One question remains: when will these changes be merged into the Lazarus installation files available on the homepage?
this is happening when the next release is ...well... released :)
I'm not confident, but the next release is planned for November-December this year.