Recent

Author Topic: [Solved] TListItem.MakeVisible does not work on MacOS  (Read 854 times)

oh_ha

  • New member
  • *
  • Posts: 9
[Solved] TListItem.MakeVisible does not work on MacOS
« 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
« Last Edit: October 18, 2021, 06:31:22 pm by oh_ha »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2712
    • havefunsoft.com
Re: TListItem.MakeVisible does not work on MacOS
« Reply #1 on: September 19, 2021, 11:57:39 pm »
implemented at this branch

diff

Alextp

  • Hero Member
  • *****
  • Posts: 1403
    • UVviewsoft
Re: TListItem.MakeVisible does not work on MacOS
« Reply #2 on: September 20, 2021, 12:15:28 am »
Then let's merge this branch, pls?

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2712
    • havefunsoft.com
Re: TListItem.MakeVisible does not work on MacOS
« Reply #3 on: September 20, 2021, 05:17:58 am »
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.

oh_ha

  • New member
  • *
  • Posts: 9
[Solved] TListItem.MakeVisible does not work on MacOS
« Reply #4 on: October 18, 2021, 06:30:56 pm »
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

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2712
    • havefunsoft.com
Re: [Solved] TListItem.MakeVisible does not work on MacOS
« Reply #5 on: October 18, 2021, 06:59:19 pm »
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.

 

TinyPortal © 2005-2018