FileListBox proxy gadget

BlitzMax Forums/MaxGUI Module/FileListBox proxy gadget

Blueapples(Posted 2008) [#1]
A pretty simple file browsing gadget.

I just use this as an Import, but it should work with no real changes as a module. Is there a way to get these sorts of things added to the official proxy gadget module? It'd be great if we could all contribute the gadgets we've made as proxy gadgets for others to use - built right in.

I don't really know bbdoc, so that part might not be right, but I'm kinda tired. I will however probably update this as I use it for a project tomorrow.

As of now I've only really tested this on Linux, but it should work on Windows and Max OS. If not let me know and I will update it.

Enjoy.

Screenshot:


Update: Oct-4-2008: Added a few functions to let you get the item string (removing the square brackets from directories and getting the parent if .. is selected) or full filename of any item based on index - not just the selected item. Also fixed a bug where the style argument wasn't used to create the actual list box.

fileListBox.bmx


Example:



Space_guy(Posted 2008) [#2]
That one looks handy :)