Some years back I did a small proof of concept app where I tried to make a listbox with controls by scrolling container controls… unfortunately i can’t find that project now…
Initially it looked promising … on my Mac that is…
But when I tried it on Windows the flicker was too bad during scrolling even after trying all the tricks I know to reduce it. Even started to try use DrawInTo and hiding the containers themselves while scrolling, but DrawInto was not working quite right for all controls (at last back then) so I abandoned that project
Unfortunately as I can’t find that project anymore to see if the situation has improved, as I could use that type UI for what i am working on…
Has anybody tried doing that recently? If so did it work/look OK X-platfrom (Mac/Win)?
You can try the demo on Windows to see how it performs (Julien helped Martin at some point to reduce flicker as much as possible). However I think some problems on Windows are simply down to Xojo using the old Windows framework.
The unencrypted source code is €15 (at that price I bought it just to support Martin).
sounds like StackView could help you in this case. Yeah, the demo project is encrypted, but if you purchase (15€), you’ll get the full unencrypted source with optional NSScrollView and a control which is tested and working fine an macOS, Windows and Linux.
My bad… The demo of the Stack View isn’t in the main project! I’ll get on to that soon. I am sorry for this mistake of mine.
In the meantime, if you have App Wrapper 4, the right hand panel is a stack view for most of the pages, on the contents page, the icons sub page is a grid view, the add & modify sub pages are stack views.
If willing to look at third party solutions, also consider piDog’s Scrolling Canvas ( here ) which is included as part of piDog’s DataView ( here ) but also available separately.
I have never had the need to use independently from DataView, but can attest to DataView working well for me on macOS and Windows with smooth scrolling and zooming. It also supports Linux but I have no experience there.
They do have a trials available (including demo projects) and you can license with or without source.