Hierarchical listbrowser example

9 posts / 0 new
Last post
salass00
salass00's picture
Offline
Last seen: 4 days 12 hours ago
Joined: 2011-02-03 11:27
Hierarchical listbrowser example
Just a quick piece of code I put together to test some new listbrowser functionality I've been working on: https://dl.dropboxusercontent.com/u/26599983/dir2lb-src.7z and I thought it might be useful as an example. It uses the OpenClass()/CloseClass() method of opening and closing class libraries and generates the GUI without using macros or nesting function calls. The program generates a hierarchial list based on the contents of SYS: or a directory of your choice (must be run from CLI for this). The "sort" button only works correctly with the latest beta version (that's one of the things I've used it for testing). Included also is a rather rudimentary "icon.image" private class I wrote just to quickly get some images in there.
trixie
trixie's picture
Offline
Last seen: 1 week 2 days ago
Joined: 2011-02-03 13:58
Re: Hierarchical listbrowser example
@salass00 For us who don't have access to the latest beta - what's the new functionality?
AmigaOne X5000-020 / 2GB RAM / Sapphire Pulse Radeon RX 560 / AmigaOS 4.1 Final Edition Update 2
salass00
salass00's picture
Offline
Last seen: 4 days 12 hours ago
Joined: 2011-02-03 11:27
Re: Hierarchical listbrowser example
@trixie Correct sorting of hierarchical lists, adjustable vertical justification and some other various bugzilla reports including fixing a bug I made myself when implementing the LBCIA_CopyTitle tag.
zzd10h
zzd10h's picture
Offline
Last seen: 4 years 6 months ago
Joined: 2012-08-24 20:56
Re: Hierarchical listbrowser example
@salass00 "vertical justification" Please, horizontal too ? http://www.os4coding.net/forum/softstyle-and-horizjustify-listbrowser-columns-titles
whose
whose's picture
Offline
Last seen: 4 years 6 months ago
Joined: 2011-08-09 02:25
Re: Hierarchical listbrowser example
Nice! :) Thank you very much!
Coder Insane-Software www.insane-software.de
salass00
salass00's picture
Offline
Last seen: 4 days 12 hours ago
Joined: 2011-02-03 11:27
Re: Hierarchical listbrowser example
@zzd10h LBCIA_SoftStyle and LBCIA_HorizJustify are already done.
trixie
trixie's picture
Offline
Last seen: 1 week 2 days ago
Joined: 2011-02-03 13:58
Re: Hierarchical listbrowser example
@salass00 Thanks for the info, and for improving the listbrowser! Got one more question. I'm currently working on something that uses a listbrowser. The individual nodes contain certain information, but some of this information cannot be retrieved on the fly - mainly because the retrieval takes time. So the particular node is empty and the user has to click on a gadget to retrieve the information (which then gets displayed in the listbrowser node). This works but it's not all too great. It would be much better if the gadget resided inside the node, hinting the user to click on it to get the information for the node. After the retrieval, the gadget would be replaced by the text. Any idea if/how this could be achieved with the currect state of the listbrowser.gadget?
AmigaOne X5000-020 / 2GB RAM / Sapphire Pulse Radeon RX 560 / AmigaOS 4.1 Final Edition Update 2
zzd10h
zzd10h's picture
Offline
Last seen: 4 years 6 months ago
Joined: 2012-08-24 20:56
Re: Hierarchical listbrowser example
@salass00 Great, thank you
mritter0
mritter0's picture
Offline
Last seen: 6 months 3 weeks ago
Joined: 2014-04-21 21:15
Re: Hierarchical listbrowser example
@salass00: Any word on individual cell selection, not just entire row? That is my biggest wish.
Log in or register to post comments