[quote=469326:@Dave S]is it possible? yes
is it supported directly by the standard listbox control? no
is it easy to replicate? no
Karen has a Mergable Listbox class,
but depending on what your desired result is… perhaps a custom canvas would be in order…[/quote]
Thanks Dave,
Ignoring the last column with split rows, is it even possible to have the text in the first column overflow into the second column? I could “make do” if I could just have a row flow over the top of the others like in my mock up.
The Demo has some old code that won’t compile because of changes in the language but classes themselves still work, though they are not Retina nor Dark mode aware.
Another alternative you can consider is piDog’s DataView class. It is pure Xojo code built upon a canvas, not subclassed from a ListBox. So it was able to implement TONS of stuff not easily supported by the standard Listbox class. I originally got it so I could handle column and row spans, and locked columns on the left. But since my original need, I have found it useful in so many other cases.
Its looking like I need this or some other commercial software to do what I want.
Shame as I was hoping to do it in code as the app is a freebie.
[quote=469338:@Douglas Handy]Another alternative you can consider is piDog’s DataView class. It is pure Xojo code built upon a canvas, not subclassed from a ListBox. So it was able to implement TONS of stuff not easily supported by the standard Listbox class. I originally got it so I could handle column and row spans, and locked columns on the left. But since my original need, I have found it useful in so many other cases.
Well, since licensing (I did the source code version) I’ve found reasons to use it in numerous applications. The time it has saved me from having to roll some other solution has been cost effective for me. Just like several other things I license such as the MBS plugins, Einhugur, GrafittiSuite, etc.
Even though I could code many of the things I use, some things are just worth it because they not only have the features I needed immediately at the time, but other features that may be useful later. And version changes needed to stay current with things like 64-bit support, underlaying OS api changes or features like dark mode, etc.
Whether you find it cost effective for a single application may depend on what you think your time is worth.
I do appreciate the value of the product, it’s just that at the moment I can’t justify spending on lots of plugins when I’m only “playing” with Xojo whilst learning. If I ever started coding in earnest then for sure I’d pay out for them all.
[quote=469376:@Douglas Handy]Well, since licensing (I did the source code version) I’ve found reasons to use it in numerous applications. The time it has saved me from having to roll some other solution has been cost effective for me. Just like several other things I license such as the MBS plugins, Einhugur, GrafittiSuite, etc.
Even though I could code many of the things I use, some things are just worth it because they not only have the features I needed immediately at the time, but other features that may be useful later. And version changes needed to stay current with things like 64-bit support, underlaying OS api changes or features like dark mode, etc.
Whether you find it cost effective for a single application may depend on what you think your time is worth.[/quote]
@Rod Pascoe here is quick solution. you must update the code as you need (it was written in less than 15 minutes so you can improve it - at least the way you add values)